[Qt-creator] QtCreator 4.3 branch build fails on qmlpuppet/container: private Qt header not found

Artur Shepilko nomadbyte at gmail.com
Sun Mar 26 06:50:07 CEST 2017


Building QtCreator 4.3 branch (e8498ac), Qt 5.6.1, gcc 5.4.1, ubuntu
14.04 (x86_64)

The full qtcreator build fails at qmlpuppet/container:

"/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:46:34:
fatal error: private/qcore_unix_p.h: No such file or directory"

The private Qt header does exist and is actually located at:
"/opt/Qt5.6.1/5.6/gcc_64/include/QtCore/5.6.1/QtCore/private/qcore_unix_p.h"

No problems building the older QtCreator 4.2 branch (it properly
passes g++ option
"-I/opt/Qt5.6.1/5.6/gcc_64/include/QtCore/5.6.1/QtCore"
which resolves the private QtCore header).

Has anything changed since QtCreator 4.2  in regards of private Qt
headers handling?
Do we have to build 4.3 differently?


The failing 4.3 compile command:

g++ -c -pipe -O2 -std=gnu++1y -fvisibility=hidden
-fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC
-D'RELATIVE_PLUGIN_PATH="../lib/qtcreator/plugins"'
-D'RELATIVE_LIBEXEC_PATH="../libexec/qtcreator"'
-D'RELATIVE_DATA_PATH="../share/qtcreator"'
-D'RELATIVE_DOC_PATH="../share/doc/qtcreator"'
-DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII
-DQT_RESTRICTED_CAST_FROM_ASCII
-DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS
-DQT_USE_FAST_CONCATENATION -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE
-DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE
-DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DTEST_EXPORTS
-DDESIGNER_CORE_LIBRARY -DQMLDESIGNEREXTENSION_LIBRARY -DQT_NO_DEBUG
-DQT_PLUGIN -DQT_QUICKWIDGETS_LIB -DQT_QUICK_LIB -DQT_WIDGETS_LIB
-DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB
-DQT_CORE_LIB -I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/interfaces
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/types
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/designercore
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/designercore/include
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/integration
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/componentcore
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/importmanager
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/itemlibrary
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/formeditor
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/navigator
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/stateseditor
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/texteditor
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/propertyeditor
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/components/debugview
-I../../../src -I/workspace/qtc-super/qtcreator/src
-I/workspace/qtc-super/qtcreator/src/libs
-I/workspace/qtc-super/qtcreator/tools
-I/workspace/qtc-super/qtcreator/src/plugins
-I/workspace/qtc-super/qtcreator/src/shared
-I/workspace/qtc-super/qtcreator/src/libs/3rdparty -I.
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/designercore
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/designercore/include
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/designercore/instances
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/interfaces
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/commands
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/container
-I/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/types
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/qmldesignerextension
-I/workspace/qtc-super/qtcreator/src/plugins/qmldesigner/qmldesignerextension/connectioneditor
-I/opt/Qt5.6.1/5.6/gcc_64/include
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtQuickWidgets
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtQuick
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtWidgets
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtGui
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtQml
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtNetwork
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtConcurrent
-I/opt/Qt5.6.1/5.6/gcc_64/include/QtCore -I.moc/release-shared -I.uic
-I/opt/Qt5.6.1/5.6/gcc_64/mkspecs/linux-g++ -o
.obj/release-shared/sharedmemory_unix.o
/workspace/qtc-super/qtcreator/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp

Thanks.



More information about the Qt-creator mailing list