Results 1 to 3 of 3

Thread: application finished, now what?

  1. #1
    Join Date
    Jan 2010
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default application finished, now what?

    Hi all.

    I made a simple Qt application and have the following doubts:

    is there a way to configure Qt to make a final installation? that is, to put the source codes in one folder, final application in other, something like a "make install"?

    If somebody wants to use my application, what should they download from Qt page? I can only find the SDK, and that's not what a final user needs. I mean, if somebody just wants to run a Qt based application, the shouldn't need to download qtcreator or qtdesigner. What should they download?

    Best regards

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: application finished, now what?

    If you are on linux, you don't have to worry about since almost every distribution comes with Qt. If not, just say your customers to install Qt with the genuin installer (depending on the distribution).

    To deploy your application put all files and pack them. Using rpm od deb or .... would be even better.

  3. #3
    Join Date
    Dec 2008
    Location
    Poland
    Posts
    383
    Thanks
    52
    Thanked 42 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: application finished, now what?

    And why do you even consider creating installer?
    Simply, as was pointed out earlier, pack with archive program - or do deb/rpm package to "get" qt dependences - Your application and redistribute. Basically Installer is used for the programs like shareware that are somehow crippled or use protection. And mostly it's for protection to keep end user from seeing what is going on, or what Your protection rely on (registry, custom hidden files, etc.)
    As for the application itself. If Your application use shared libraries (in win dll.'s) then simply run the application on another windows account that has no Qt related variables (so application can't find appropriate dll's). Each time You run your app warning will pop-up complaining about missing dll. Simply find and copy it to the directory with Your application. Do that untill app finally works normally. If You use shared so Qt is in LGPL, that means You can redistribute app with these dll's but also You need to tell end user how and where acquire these libraries.
    If You use static compilation so Your code is GPL and You need to pack everything, I mean src + bin.
    Last edited by Talei; 11th August 2010 at 07:09. Reason: spelling corrections

Similar Threads

  1. which one has finished with QFutrueWatcher
    By wookoon in forum Qt Programming
    Replies: 2
    Last Post: 27th July 2010, 13:41
  2. get finished signal from a thread
    By ProTonS in forum Qt Programming
    Replies: 4
    Last Post: 21st August 2009, 15:17
  3. QProcess::finished problems again
    By mdicosimo in forum Qt Programming
    Replies: 2
    Last Post: 23rd January 2009, 22:43
  4. QProcess::finished()
    By T1c4L in forum Qt Programming
    Replies: 11
    Last Post: 9th July 2008, 21:06
  5. Getting the moment when resize is finished
    By m_e in forum Qt Programming
    Replies: 4
    Last Post: 7th November 2007, 22:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.