[Interest] Can't build Qt 5.8 alpha (Windows)

Xavier Bigand flamaros.xavier at gmail.com
Tue Sep 20 23:54:31 CEST 2016


I have the following error :
g++ -c -include .pch\release\qt_pch.h -pipe -fno-keep-inline-dllexport
-msse2 -mstackrealign -mfpmath=sse -O2 -std=c++1z -fexceptions -mthreads
-frtti -Wall -Wextra -Wvla -Wdate-time -DUNICODE -DQT_NO_USING_NAMESPACE
-DQT_NO_FOREACH -DPCRE_STATIC -DWINVER=0x600 -D_WIN32_WINNT=0x0600
-DQT_BUILD_CORE_LIB -DQT_BUILDING_QT -D_CRT_SECURE_NO_WARNINGS
-D_USE_MATH_DEFINES -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_DEBUG
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\corelib -I. -Iglobal
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\pcre
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\harfbuzz\src
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\md5
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\md4
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\sha3
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\double-conversion\include
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\3rdparty\double-conversion\include\double-conversion
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\include
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\include\QtCore -I..\..\include
-I..\..\include\QtCore
-ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\include\QtCore\5.8.0 -I
D:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\include\QtCore\5.8.0\QtCore -Itmp
-I.moc\release -ID:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\mkspecs\win32-g++
 -o .obj\release\qnumeric.o
D:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\corelib\global\qnumeric.cpp
In file included from
D:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\include\QtCore\5.8.0/QtCore/private/qglobal_p.h:1:0,
                 from
D:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\corelib\global\qnumeric_p.h:55,
                 from
D:\Softs\SDK\qt-src-5.8.0-alpha\qtbase\src\corelib\global\qnumeric.cpp:41:
D:/Softs/SDK/qt-src-5.8.0-alpha/qtbase/src/corelib/global/qglobal_p.h:52:38:
fatal error: QtCore/private/qconfig_p.h: No such file or directory

It seems to work better when I don't use a shadow build folder (I stopped
the build before end).

My paths :
shadow build : D:\Softs\SDK\qt-5.8-minw_build
sources : D:\Softs\SDK\qt-src-5.8.0-alpha

I found the file here :
D:\Softs\SDK\qt-5.8-minw_build\qtbase\include\QtCore\5.8.0\QtCore\private\qconfig_p.h


It seems that some include paths given to the compiler should be in the
shadow build directory (those in red).


Is it an issue of the alpha or I coud be do something wrong with my
environment build?


-- 
Xavier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160920/99c0c260/attachment.html>


More information about the Interest mailing list