I am in the process of rebuilding the QT libraries on Windows from qt-everywhere-opensource-src-4-8-3.zip, upgrading from 4.7.2 which has been working fine for a year or more.
My environment is a Visual Studio 2010 Command Prompt Shell.
When I try
.\configure -debug-and-release -opensource -no-qt3support -platform win32-msvc2010
which worked on 4.7.2, I get compile errors, i.e.
Creating qmake...
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
Copyright (C) Microsoft Corporation. All rights reserved.
cl -c -Fo./ -W3 -nologo -O2 /MP -I. -Igenerators -Igenerators\unix -I
generators\win32 -Igenerators\mac -Igenerators\symbian -Igenerators\integrity -
IC:\Qt\4.8.3\include -IC:\Qt\4.8.3\include\QtCore -IC:\Qt\4.8.3\include -IC:\Qt
\4.8.3\include\QtCore -IC:\Qt\4.8.3\src\corelib\global -IC:\Qt\4.8.3\src\corel
ib\xml -IC:\Qt\4.8.3\mkspecs\win32-msvc2010 -IC:\Qt\4.8.3\tools\shared -DQT_
NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -
DQT_NO_COMPRESS -DUNICODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -D
QT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRA
PPED -DQLIBRARYINFO_EPOCROOT -c -Yc -Fpqmake_pch.pch -TP qmake_pch.h
qmake_pch.h
C:\Qt\4.8.3\include\QtCore\qglobal.h(1) : fatal error C1083: Cannot open include
file: '../../src/corelib/global/qglobal.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 10.0\VC\BI
N\cl.EXE"' : return code '0x2'
Stop.
Looking in src/corelib/global, there indeed is no qglobal.h.
What am I doing wrong. What has changed since 4.7.2 ?
Any help would be appreciated.
Also does anyone know if https support in QNetworkAccessManager is available in 4.8.3 and if so how do I include it during the build ?
Added after 1 19 minutes:
I have read that 4.8.3 mandates Perl (hmm).
So I installed it, but I still get the same compilation error.
I have also read that I need to run syncqt.bat in the bin directory.
I have now done that but it gives me:
I couldn't find a pro file for QtCore module
It looks like it might be another long day in QT-world.
Bookmarks