Building qt
-
I did a checkout of the qt source from git://gitorious.org/qt/qt.git after that I tried to build it from the Visual Studio x64 Command Line like this:
configure -mp -opensource -nomake demos -nomake examplesUnfortunatelly configure fails. Here the outup of my console window:
@
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 -IC:\USB\thirdparty\qt\i
nclude -IC:\USB\thirdparty\qt\include\QtCore -IC:\USB\thirdparty\qt\include -IC
:\USB\thirdparty\qt\include\QtCore -IC:\USB\thirdparty\qt\src\corelib\global -
IC:\USB\thirdparty\qt\src\corelib\xml -IC:\USB\thirdparty\qt\mkspecs\win32-msvc
2010 -IC:\USB\thirdparty\qt\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETAB
LES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAV
E_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARI
ANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -
c -Yc -Fpqmake_pch.pch -TP qmake_pch.h
qmake_pch.h
C:\USB\thirdparty\qt\src\corelib\global\qglobal.h(62) : fatal error C1083: Canno
t open include file: 'QtCore/qconfig.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
\VC\BIN\amd64\cl.EXE"' : return code '0x2'
Stop.
@
The file QtCore/qconfig.h does not exist. Where do I get it from? -
Just curious.. are you in the Qt root folder (i.e C:\USB\thirdparty\qt) when running configure?
-
@groenerth: You're talking about the file in the include folder I presume.. Just to clear that... all the files in the include folder just contain a #include like that to the file in the src folder..
@Vertexwahn: Since you're compiling qglobal.h which is in the same folder as qconfig.h.. and paths not set up to use the global include.. just change the 'QtCore/qconfig.h' to 'qconfig.h'.. But if there are other includes doing the same thing... you're doing something wrong..
-
[quote author="jim_kaiser" date="1308090805"]@groenerth: You're talking about the file in the include folder I presume.. Just to clear that... all the files in the include folder just contain a #include like that to the file in the src folder.. [/quote]
Yeap, thats right....
[quote author="jim_kaiser" date="1308090805"]
@Vertexwahn: Since you're compiling qglobal.h which is in the same folder as qconfig.h.. and paths not set up to use the global include.. just change the 'QtCore/qconfig.h' to 'qconfig.h'.. But if there are other includes doing the same thing... you're doing something wrong..[/quote]It seems that he is running the "make" command in a wrong path...
-
I am in the root path (C:\USB\thirdparty\qt) where configure is located
I don't have perl installed but phyton - I installed Strawberry Perl now
Currently I am runing configure again - it seems to work now - just perl was missing
-
Does Qt5 have its own repository (git://gitorious.org/qt/qt5.git)? What is the difference between git://gitorious.org/qt/qt5.git and git://gitorious.org/qt? Is git://gitorious.org/qt/qt5.git included in git://gitorious.org/qt? (I don't have any experience with git) - what is the sense of the Qt5 submodule