Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
4.6.0
-
None
-
8250376d7467f3b435ad22a4b65d1dd856c3d20b
Description
Package: qt-win-opensource-4.6.0-rc1-vs2008.exe
Platform: Win7 64bit
Seems to be some problems with installation of license, since I cannot compile any examples due to the license check we have:
C:\Qt\4.6.0-rc1\examples\tools\regexp>nmake debug cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -D QT_THREAD_SUPPORT -I"..\..\..\include\QtCore" -I"..\..\..\include\QtGui" -I"..\. .\..\include" -I"..\..\..\include\ActiveQt" -I"tmp\moc\debug_shared" -I"..\..\.. \mkspecs\win32-msvc2008" -Fotmp\obj\debug_shared\ @C:\Users\jasaethe\AppData\Loc al\Temp\nmD95A.tmp regexpdialog.cpp c:\qt\4.6.0-rc1\include\qtcore\../../src/corelib/global/qnamespace.h(51) : error C2146: syntax error : missing ';' before identifier 'QtCoreModule' c:\qt\4.6.0-rc1\include\qtcore\../../src/corelib/global/qnamespace.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default -int:
Also, it does not happen with qt-win-commercial-4.6.0-rc1-vs2008.exe
We found the reason for this was that QT_EDITION was not properly set in qconfig.h:
// Qt Edition
#ifndef QT_EDITION
# define QT_EDITION QT_EDITION_
#endif
It seems that its impossible that configure generates this, so it might be a bug in the installer script.