Installing QT 4.8.3 and latest minGW
-
Hi everyone!
I used to be a hardcore QT fan for like 3 years by now. Right now, I wanted to install it again on windows 7 and, for my surprise, it was adquired by "digia" and it's no longer "free".
I went to "qt-proyects downloads page":http://qt-project.org/downloads and downloaded both "Qt libraries 5.0 Beta 2 for Windows (501MB)", the "Qt libraries 4.8.3 for Windows (minGW 4.4, 317 MB)" and the "Qt Creator 2.6.0 for Windows (51 MB)" plus the latest minGW collection.
On 5.0, It just doesn't allow me to compile (I asume that expects me to have VS... ha!).
On the other hand, I've installed minGW, the QT libs 4.8.3 and the QT Creator 2.6.0. The instalation warn me about an incompatible version of w32api.h (it asks for the 3.13, while the latest minGW has the 3.17). Once (I think, at least) that both QT libs and creators are tied together, I create an empty QT GUI application. I try to run but it just crashes with an -1073741819 exit code. I can't debug it because it doesn't even touch the proyect code. It seems that crashes when running the QtCore4.dll (especifally at line 26, on the dissasembly code)
[EDIT] What I mean with "tie together" was the configuration on tools>options>B&R, tabs "kits" (made a default one with Desktop, minGW and QT 4.8.3), "qt version" (manualy set the qmake path) and "compilers" (minGW and GCC paths) [/EDIT]
What happened?!
What do I have to do now to have a simple QT SDK running like old times?
Thanks!
RVH
-
Hi RVH, welcome to the Qt Project forums!
Don't worry, Qt is still free :) It has been available under a dual licence (GPL + commercial) since 2000, and Nokia made it LGPL + commercial in 2009. That scheme has not changed.
You can't use GCC 4.7 with the downloaded Qt 4.8.3 DLLs, because those DLLs were built using GCC 4.4 -- they're incompatible with GCC 4.7. You have 2 options:
Use an older version of MinGW GCC (ftp://ftp.qt.nokia.com/misc/MinGW-gcc440_1.zip )
Build Qt yourself, using your GCC 4.7
Also, if you look closely at the Qt 5 installer's filename, you'll see it says "qt-windows-opensource-5.0.0-beta2- msvc2010_32-x86 -offline.exe". That package provides Qt 5 beta 2 for Visual Studio 2010 (32-bit) only. When Qt 5.0 is released (hopefully by the end of December), a new SDK will be released as well. From there, you'll be able to choose between MSVC and MinGW versions of Qt to download. Some time after that release, the latest Qt 4.8 will be supported in the SDK as well.
-
Thanks JKSH!
I'm not an expert, but I'll try to compile it by myself.
At least, if it doesn't work, I'll wait for the next SDK.
Regards!
-
You're welcome!
You might find this page helpful: http://doc.qt.digia.com/stable/install-win.html
Good luck, and feel free to ask back in these forums if you'd like some more assistance