Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 4.8.2
-
-
3b79fafb3f7bbcbe68418be747009d00f0221a43
Description
Syntax highlighting does not work with Boot2Qt 5.13.0 apalis-imx6 toolchain.
Note is displayed with "Warning: The code model could not parse an included file..."
c++config.h:238:11: error: unknown type name '__SIZE_TYPE__'
main.cpp:1:1: note: in file included from /home/sapiippo/Qt/test/untitled-quick/main.cpp:1:
main.cpp:1:10: note: in file included from /home/sapiippo/Qt/test/untitled-quick/main.cpp:1:
QGuiApplication:1:10: note: in file included from /home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/QGuiApplication:1:
qguiapplication.h:43:10: note: in file included from /home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/qguiapplication.h:43:
qtguiglobal.h:43:10: note: in file included from /home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/include/qt5/QtGui/qtguiglobal.h:43:
qglobal.h:45:12: note: in file included from /home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/include/qt5/QtCore/qglobal.h:45:
type_traits:38:10: note: in file included from /home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/cortexa9t2hf-neon-poky-linux-gnueabi/usr/include/c++/8.2.0/type_traits:38:
and from command line:
"The command \"/home/sapiippo/Qt/5.13.0/Boot2Qt/apalis-imx6/toolchain/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-g++\" terminated with exit code 1." SOFT ASSERT: "false && "__cplusplus is not predefined, assuming latest C++ we support."" in file /home/qt/work/build/qt-creator/src/plugins/projectexplorer/toolchain.cpp, line 324