Results 1 to 2 of 2

Thread: How in Qt 5.9.0 to build the project into a single executable file?

  1. #1
    Join Date
    Mar 2017
    Posts
    10
    Qt products
    Qt5
    Platforms
    Windows

    Default How in Qt 5.9.0 to build the project into a single executable file?

    How in Qt 5.9.0 to build the project into a single executable file that does not need external libraries?

  2. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,230
    Thanks
    302
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: How in Qt 5.9.0 to build the project into a single executable file?

    does not need external libraries
    If you mean an executable that does not require Qt shared libraries / DLLs, then you need to link with a static build of Qt. If your app uses other, non-Qt libraries, you need to link with static builds of those as well.

    You would probably be better off learning how to deploy a Qt application that uses shared libraries. It is a whole lot easier than creating a static build of Qt.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Replies: 0
    Last Post: 2nd October 2013, 06:51
  2. How to produce a single Executable exe file??
    By Gokulnathvc in forum Newbie
    Replies: 1
    Last Post: 4th August 2011, 07:32
  3. how set icon for qt executable project file with cmake and vs 2005?
    By banlinhtienphong in forum Qt Programming
    Replies: 3
    Last Post: 28th April 2011, 08:38
  4. How do I make my project executable file
    By theios_nikos in forum Newbie
    Replies: 8
    Last Post: 4th June 2010, 20:48
  5. Single Log File for Qt Project.
    By qtlinuxnewbie in forum Newbie
    Replies: 5
    Last Post: 16th February 2010, 13:00

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.