[Interest] Problem compiling Qt5 on Windows using MinGW64

Petric Frank pfrank at gmx.de
Fri Dec 21 01:28:02 CET 2012


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/qdeclarative
> debugserverconnection_p.h:1:139: fatal error:
> ../../../../../../../qt-everywhere-opensource-
> src-5.0.0/qtquick1/src/declarative/debugger/qdeclarativedebugserverconnect
> 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/debugger
> /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.

regards
  Petric



More information about the Interest mailing list