Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my question is when i build release mode my simple app,how i can create exe file?
i tested this solution:
Let's say you've installed QT under c:\qtsdk
Open your project, and compile it in release mode.
Go to this directory: C:\QtSDK\Desktop\Qt\4.7.4\mingw\bin -- it contains all shared libraries. Debug libraries end with a "d" -- frex, QtCore.dll is release version, while QtCoreD.dll is debug version

Copy at least these files into your release directory (where your .exe lies)
    mingwm10.dll
    libgcc_s_dw2-1.dll
    QtCore4.dll
    QtGui4.dll

I just built, tested and deployed a dummy project this way.


but after copy file it return other dependency file,i again copy it and an other error!!!!
please guide me

What I have tried:

http://stackoverflow.com/questions/8312725/how-to-create-executable-file-for-a-qt-application
Posted

1 solution

i shared solution here
best way is
cd $dir_project
qmake project.pro
mingw32-make

finally execute file will be created.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900