Results 1 to 2 of 2

Thread: how to create .exe file of the project?

  1. #1
    Join Date
    Oct 2010
    Posts
    6
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Question how to create .exe file of the project?

    Hello , my program gui windows app builds and runs in qt creator,when i click green colored button in left bottom of qt creator. But i wanted to make it self executable, like running an independant application without qt. I also found the file .exe of my application in the build-desktop folder.But when i double click on it it says mingwm10.dll missing.
    Tell me what to do to make my application run on any windows system ,independantly operating without using qt.

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: how to create .exe file of the project?

    You need to copy the required dll's in the same folder with your application.exe

    You need at least two dll's for MingW runtime:
    mingwm10.dll and libgcc_s_dw2-1.dll
    you can find this two in the QT_INSTALL_PATH\mingw\bin

    And some (depending on what modules you use) for Qt runtime, for example: QtCore4.dll and QtCore4.dll (these are for release build of your application, those for debug have a d in their name and are bigger because they have more debugging information) you can find those in QT_INSTALL_PATH\qt\bin
    Note: the dll's from QT_INSTALL_PATH\bin won't work with your application.

    Also on your developing system you can add the two paths to the Environment variables Path and on your system you don't need to copy the dll's, you will copy them only when you deploy on another system

Similar Threads

  1. Replies: 4
    Last Post: 18th December 2009, 18:55
  2. Replies: 1
    Last Post: 3rd December 2009, 23:34
  3. Replies: 1
    Last Post: 18th August 2009, 14:18
  4. How to create a XCode nested Project.
    By kaushal_gaurav in forum Qt Programming
    Replies: 0
    Last Post: 25th November 2008, 11:41
  5. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 14:45

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.