Trouble adding static build to QtCreator
-
I'm pretty new to Qt development and am trying to build Qt statically on Windows for distribution with my open source project. I've been trying to follow this guide so far: http://falsinsoft.blogspot.com/2011/12/building-static-qt-on-windows-with.html
Here is my configure command: configure -release -platform win32-g++ -opensource -nomake examples -nomake tests -static
Using the MinGW tools that came with the download bundle, and it appears that the build succeeds, but when I go to add the new Qt version to QtCreator, the following notices appear:
Non-installed -prefix build - for internal development only
No qmlscene installed.
No qmlveriwer installed.!http://i.imgur.com/hfRh0y1.png(Qt Version Notices)!
If I add it to a new kit anyway, and switch my project to use the static kit and dry to build, I get the following error:
Unknown module(s) in QT: script
!http://i.imgur.com/VHNljrm.png(Qt build error)!
I'm certain I'm just doing something very wrong, as a new user of Qt. Can anyone give me some guidance?
-
First, don't use a tutorial from 2 years ago. It's outdated.
Next, use explicit prefix when building:
@
configure -prefix