Static Build Fails on Windows 7 Professional X64 with QTSDK
-
It has been a while since the last time I had Qt build statically, so I don't know if the wiki article is correct on all the settings... so don't blame me if it doesn't build correctly ;-)
Apart for the makespecs and make file editing and the configure options, the sameway I build Qt with openssl support from QtSources.
-
I got everything done up until the dos prompt. Everything except creating qmake went fine.
@Creating qmake...
execute: File or path is not found (mingw32-make)
execute: File or path is not found (mingw32-make)
Cleaning qmake failed, return code -1@ -
Still not working. Unless I'm not setting the environmental variable for MinGW correctly?
@Variable Name %PATH%
Variable Value C:\QtSDK\mingw\bin@ -
The command prompt was cutting it off. Have it in a text file so I'll post it if I have an issue again.
Ah I misunderstood that. Seems like it's actually building now, but I don't know for sure so I'll post an update after a bit.:)
-
It failed again saying interrupt. Is there a way that when I'm about ready to release a program I can compile it against the libraries without having static set up? Nokia needs to provide better documentation on this.
-
[quote author="DarkSnake-Kobra" date="1309984350"]Is there a way that when I'm about ready to release a program I can compile it against the libraries without having static set up?[/quote]
Build your application as usual and redistribute the Qt libraries (.dlls) along with your application. (There are tons of threads on how to do this.)
If you really consider to link Qt statically to your application you should probably "consider":http://developer.qt.nokia.com/forums/viewthread/6749/ buying a commercial license too.
-
Was just thinking on that. I think it'll be easier to compress the libraries with UPX and redistribute them with the programs.:)
Everything resolved now.:)
-
please, how can I redistribute Qt dlls ?
I use Qt 5.2, I need to create Stand-Alone .exe file as a Release from my application, and till now static Qt build fails.
Even it completes, Qml and Quick doesn't known for Qt.So, If there are any other solution to get stand-alone file, that will be very appreciated.
Thank you,