Static Build Fails on Windows 7 Professional X64 with QTSDK
-
Do @> set PATH=C:\QtSDK\mingw\bin;%PATH%@ and rerun configure with your arguments. Sorry my mistake, forgot to mention that part ;-). I edited my post accordingly.
-
Maybe you could update the wiki, if you succeed, with your findings?
-
Still not working. Unless I'm not setting the environmental variable for MinGW correctly?
@Variable Name %PATH%
Variable Value C:\QtSDK\mingw\bin@ -
If you posted the whole message you got and not just a part, it would be much easier to help you out.
Did you set, like I showed you, the path to mingw32-make at the prompt before rerunning configure?
-
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.
-
Until now you only given incomplete error messages. As said before if you provide us with the full error message maybe someone will be able to help you.
-
[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,