Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22039

code model fails with latest Boot2Qt toolchain

    XMLWordPrintable

Details

    • Linux/X11
    • 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 

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            kosjar Nikolai Kosjar
            sapiippo Samuli Piippo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes