PDA

View Full Version : COMPILE QT 4.7.0 MINGW: strange errors



giusepped
6th October 2010, 15:22
I downloaded Qt 4.7.0 SDK and I am trying to compile the sources by using mingw 3.4.5.
I just ran "configure -platform mingw-32" and the compilation goes through even if sometimes I get errors like this
".....in ntsecpkg.h SECURITY_STRING doesn't name a type"....
What is the cause? Qt or mingGW?
Regards

giusepped
6th October 2010, 16:08
It seems that with MinWG 3.8 the errors disappear...

giusepped
7th October 2010, 12:35
...but now at the end I got

....qscriptextensionplugin.h:43 error undefined interface.

Why?
Any reply apprecitated.

bmhautz
7th October 2010, 18:15
That might be because MinGW 3.4.5 is I believe a Tier 2 platform for Windows now, while 4.7 was meant to be used with MinGW 4.4.0. Take a look here to find more information:

http://doc.qt.nokia.com/4.7/compiler-notes.html

I suggest using the MinGW compiler that the Qt SDK comes with (which is 4.4.0) or rolling back your Qt install to 4.5.3, which still supports MinGW 3.4.5.

giusepped
15th October 2010, 15:52
I used MinGW from the Qt SDK package, but with lo luck.
I also downloaded MinGW4.4 from Qt ftp. No luck.
I think it is a bug.
G