[Interest] Problem compiling Qt5 on Windows using MinGW64

Petric Frank pfrank at gmx.de
Fri Dec 21 02:18:25 CET 2012


Hello,

Am Freitag, 21. Dezember 2012, 01:28:02 schrieb Petric Frank:
> Hello,
> 
> sorry - the file is really existing is the source
> 
> Am Freitag, 21. Dezember 2012, 01:13:31 schrieb Petric Frank:
> > Hello,
> > 
> > due the release does not have a Windows version for the MinGW compiler i
> > tried it myself.
> > 
> > The qt source is located at C:\qt-everywhere-opensource-src-5.0.0
> > The build directory is at C:\Qt\qt-5.0.0-build
> > And is should install the compile results to C:\Qt\qt-5.0.0
> > 
> > Additionally i renamed QtWebkit.pro to exclude QtWebkit (as far as i read
> > the comments was the culprit) so this package is not to be built.
> > 
> > Unpacked the zip source and configured it using the following options:
> > 
> > C:\Qt\qt-5.0.0-build>..\qt-everywhere-opensource-src-5.0.0\configure
> > -debug-and-release -opensource -confirm-license -platform win32-g++
> > -c++11 -opengl desktop -openssl -plugin- sql-odbc -plugin-sql-sqlite
> > -plugin-sql-mysql -qt-style-windowsvista -qt-style-windowsxp -nomake
> > tests -nomake examples -prefix c:\Qt\qt-5.0.0
> > 
> > When executing "jom /W /S -j4" after some time gives me this:
> > ----------------------- cut ----------------------------
> > ...
> > jom: Leaving directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_inspector'
> > jom: Entering directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_inspector
> > jom: Leaving directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_inspector'
> > jom: Leaving directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_inspector'
> > jom: Entering directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1
> > jom: Entering directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1
> > In file included from
> > C:\Qt\qt-everywhere-opensource-src-5.0.0\qtquick1\src\plugins\qmltooling\
> > q mldbg_tcp_qtquick1\qtcpserverconnection.h:45:0, from
> > C:\Qt\qt-everywhere-opensource-src-5.0.0\qtquick1\src\plugins\qmltooling\
> > q mldbg_tcp_qtquick1\qtcpserverconnection.cpp:42:
> > ..\..\..\..\include\QtDeclarative\5.0.0/QtDeclarative/private/qdeclarativ
> > e debugserverconnection_p.h:1:139: fatal error:
> > ../../../../../../../qt-everywhere-opensource-
> > src-5.0.0/qtquick1/src/declarative/debugger/qdeclarativedebugserverconnec
> > t ion_p.h: No such file or directory compilation terminated.
> > jom:
> > C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1\
> > M akefile.Debug [.obj\debug_shared\qtcpserverconnection.o] Error 1 jom:
> > Leaving directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1
> > ' jom:
> > C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1\
> > M akefile [debug-all] Error 2 jom: Leaving directory
> > 'C:\Qt\qt-5.0.0-build\qtquick1\src\plugins\qmltooling\qmldbg_tcp_qtquick1
> > ' ....
> > ----------------------- cut ----------------------------
> > 
> > I have verified it - the file
> > 
> > c:\Qt\qt-everywhere-opensource-src-5.0.0/qtquick1/src/declarative/debugge
> > r /qdeclarativedebugserverconnection_p.h
> > 
> > is not part of the source distribution - so it is really missing.
> > 
> > Any hint on how to overcome the problem and get this going on ?
> 
> sorry - the file is really existing is the source. But anyway the process
> is still complaining usung the error message above.
> 
> I switch from jom to mingw32-make in meanwhile. Maybe this is a parallelism
> problem.

mingw32-make issues the same error.

I have manually edited the file
  C:\Qt\qt-5.0.0-build\qtquick1\include\QtDeclarative\5.0.0/QtDeclarative/private/qdeclarativedebugserverconnection_p.h

and removed one "../" from the #include statement. Now the compilation went ok.

I have no idea where this additional one is coming from. The other files in the same directory (i have checked only a few of them) have only 6 "../"s whereas this one has 7 "../"s.

regards
  Petric



More information about the Interest mailing list