Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[SOLVED] Qt and QtCreator for Windows XP compiled with mingw32
Can Someone please point me to, if it exists, a "how to install and compile QtCreator with mingw32 for DUMMIES" link or post or how-to.
I am a "lets click the shortcut or run the exe" windows guy and have not had to compile code before so I am getting really lost trying to follow the multiple versions of how-to install these things. I had a crack at the
http://developer.qt.nokia.com/wiki/How_To_Build_Qt_Creator_From_Source advice and at the moment it is building and so far has 2 errors and 25 warnings so I suspect it will end badly (it in fact does run if I run the executable from within a Qt command window). Thought that it would make a clickable exe :(
I can tell you that if you are not used to these things it is amazingly confusing. I understand the concept behind the link and build but the lack of consistency between the various posts, webpages etc has gotten me soooooo confused.
Cheers in advance
edit: I did have Qt listed here as well but the Qt mingw32 exe installed it all perfectley and all of the examples ran so that was a no brainer for me
Hostel last edited by
Why you want to compile QtCreator? The standard QtSdk for Windows has a Qt library and source, and compiled QtCreator and mingw32.
My understanding is that the Qt Creator with the SDK is compiled with MSVS, while the Qt Designer is compiled with mingw. All of my attempts to get qwt working in the designer within creator from the SDK have proven to be no good.
I have almost gotten the Qt Libs and standalone Qt Creator compiled in mingw so hopefully all will be good. I wish nokia could put out an SDK that is start to finish mingw. Would make it a lot easier for a lot of folk I think. They can just offer up the 2 choices then MSVS or mingw.
If I do manage to get it all going I will post how I did it to hopefully save others the problem. Due to the large number of postings and confusion of this issue it is, to me, something that the Nokia folk could remedy quite easily.
Hostel last edited by
If you want compile Qt Creator and have an errors then write them here - then we try to solve.
Okay thanks. I actually got a version going yesterday and then following a link concerning a google search I did on Qt had a nasty virus attack my computer. You would not believe how ineffective our work antivirus software is. So no I am having to reinstall and try. If I get errors I will let you know.
Okay so I have managed to install Qt and Qt Creator and compiled it with mingw.
1)unpacked the recommended version of mingw to the C:\ directory (http://get.qt.nokia.com/misc/MinGW-gcc440_1.zip)
2)installed the latest Qt for windows (mingw) in c:\ directory (http://qt.nokia.com/downloads/windows-cpp)
3)added a directory in the C:\Qt directory called QtCreator
4)unzipped the latest QtCreator src files into C:\Qt\QtCreator (http://get.qt.nokia.com/qtcreator/qt-creator-2.4.0-src.zip)
5)started the Qt command prompt
6)changed directory to C:\Qt\QtCreator
7)typed qmake qtcreator.pro -spec win32-g++ -r CONFIG+=release
8)let it do its thing
9)typed mingw32-make release
10)let it do its thing
11)changed directory to C:\Qt\QtCreator\bin
13)WIN! (sort of but also refer to http://developer.qt.nokia.com/forums/viewthread/12500/ for a small issue that came up)