[Solved] Compiling Qt (with OpenSSL) failing
-
Hi,
I'm trying to compile Qt with OpenSSL support (I haven't done that since I started using the Qt SDK) and configure -openssl fails immediately on creating qmake :
@Creating qmake...
g++ -c -oproject.o -O -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Ige
nerators/mac -Igenerators/symbian -IC:\QtSDK\QtSources\4.7.3/include -IC:\QtSDK
QtSources\4.7.3/include/QtCore -IC:\QtSDK\QtSources\4.7.3/include -IC:\QtSDK\QtS
ources\4.7.3/include/QtCore -IC:\QtSDK\QtSources\4.7.3/src/corelib/global -IC:\Q
tSDK\QtSources\4.7.3/src/corelib/xml -IC:\QtSDK\QtSources\4.7.3/mkspecs/win32-g+- -IC:\QtSDK\QtSources\4.7.3/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLE
S -DQT_LITE_COMPONENT -DQT_NO_PCRE -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNI
CODE -DHAVE_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_
GEOM_VARIANT -DQT_NO_DATASTREAM -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQMAK
E_OPENSOURCE_EDITION project.cpp
In file included from project.cpp:42:
project.h:45:25: error: qstringlist.h: No such file or directory
project.h:46:25: error: qtextstream.h: No such file or directory
project.h:47:21: error: qstring.h: No such file or directory
project.h:48:20: error: qstack.h: No such file or directory
project.h:49:18: error: qmap.h: No such file or directory
project.h:50:23: error: qmetatype.h: No such file or directory
In file included from property.h:45,
from project.cpp:43:
C:\QtSDK\QtSources\4.7.3/src/corelib/global/qglobal.h:62:28: error: QtCore/qconf
ig.h: No such file or directory@
I noticed the quirk in the paths: C:\QtSDK\QtSources\4.7.3/include
Searching didn't bring anything up, so was wondering if someone might have had the same issue.Running Windows 7 64 with latest Qt SDK (RC1) and QtSources 4.7.3 installed.
- -IC:\QtSDK\QtSources\4.7.3/tools/shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLE
-
[quote author="ZapB" date="1302254313"]OK so this has nothing to do with OpenSSL then. Can you edit the title of the thread to reflect this please?
What is the exact configure line you are using please?[/quote]
As I said what I always used before, configure -openssl. About the thread title, even tough the problem encountered does not seem related to OpenSSL the result I'm looking for is, so will leave it as is. -
Downloaded the source code separately and it just compiled fine.
So here is my question why supply borked source code as an download option in the SDK if it doesn't even compile (at least on windows)? Cause it is a bit confusing as it includes everything to make it look like compilable but it isn't. -
Bug report: "QTSDK-658":http://bugreports.qt.nokia.com/browse/QTSDK-658
-
@ZapB I totally agree.
At least it would be good to have configure check for perl in the path and warn when it ain't there. It's mentioned on the installation webpage after digging through the requirements but you easily read over it so it's not that obvious.
Btw. I downloaded the qt-everywhere sources and they also need perl to run syncqt. I tried some old sources (4.5) I had lying around and they don't require perl. So somewhere along the road it was added :-)