QTwchar Built In type Entry point Error
-
Hi,
I have an application that must be compiled with Treat wchar_t as Built-in Type options setting to YES.
I have modify the file qmake.conf with the options: QMAKE_CFLAGS = -nologo -Zm200 -Zc:wchar_t and I have compile QT.
After this operation my applicatin is compiled correctly without error.
My problem is the execution: when I run it I have this error:
"The procedure entry poin ?fromWCharArray@QString@@SA?AV1@PGB@Z could not be located in the dynamic link library QtCored4.dll"
I have read output windows and my exe load the corret file: QTDIR\bin\QtCored4.dll where QTDIR is correct.
Can anyone help me pls?
It's correct compiled QT with options -Zc:wchar_t? I have forgot something??
Thx, bye
Ps. I'm working in Windows 7 64 bit with Visual Studio 2005, qt version 4.6.2, qt-vs-Addin-1.1.7
-
There is - surprise! - an "Installation Guide":http://doc.trolltech.com/4.7/install-win.html in the qt docs on "http://doc.trolltech.com/":http://doc.trolltech.com/.
You'll have to figure out how to set your special flags in the configure phase, configure -help should give you some hints; as far as I remember there are some cflags/cppflags that should do the trick.
-
I doubt that modifying qmake.conf is enough. You should at least modify one of the files in the mkspec dir or put it on the configure command line.
Also, less than 10 minutes to completely compile Qt is far too less. On an 8-core Mac it takes approximately 30 Minutes. Back, when I compiled it by hand on a not-so-slow windows box, it took about 2 or 3 hours or even more, I can remember.
-
Wait wait..
[quote]
I doubt that modifying qmake.conf is enough. You should at least modify one of the files in the mkspec dir or put it on the configure command line.
[/quote]This file is in mkspec: QTDIR\4.6.2\mkspecs\win32-msvc2005.
[quote]
Also, less than 10 minutes to completely compile Qt is far too less. On an 8-core Mac it takes approximately 30 Minutes. Back, when I compiled it by hand on a not-so-slow windows box, it took about 2 or 3 hours or even more, I can remember.
[/quote]Yesterday I have compile Qt (2 h 30m) with this options..