Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-104318

Qt 6.3.1 qt-wayland build failed: fatal error: QtQml/QQmlParserStatus: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 6.3.1
    • Wayland Compositor
    • None
    • Linux/Wayland

    Description

      Full output can be found: https://github.com/abcfy2/qBittorrent-Enhanced-Edition/runs/6883199363?check_suite_focus=true

      In the previous version 6.3.0 works very well, but since I upgrade to 6.3.1 I got this error:

       

      [308/503] Building CXX object src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandquickextension.cpp.o
      FAILED: src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandquickextension.cpp.o 
      /usr/bin/c++ -DQT_ASCII_CAST_WARNINGS -DQT_BUILDING_QT -DQT_BUILD_WAYLANDCOMPOSITOR_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DEPRECATED_WARNINGS_SINCE=0x060000 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_GUI_LIB -DQT_MOC_COMPAT -DQT_NO_CAST_TO_ASCII -DQT_NO_DEBUG -DQT_NO_EXCEPTIONS -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGL_LIB -DQT_USE_QSTRINGBUILDER -DQT_WAYLANDGLOBAL_LIB -DWaylandCompositor_EXPORTS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/usr/src/qtwayland-6.3.1/src/compositor/WaylandCompositor_autogen/include -I/usr/src/qtwayland-6.3.1/include -I/usr/src/qtwayland-6.3.1/include/QtWaylandCompositor -I/usr/src/qtwayland-6.3.1/src/compositor -I/usr/src/qtwayland-6.3.1/src/compositor/../shared -I/usr/src/qtwayland-6.3.1/src/compositor/compositor_api -I/usr/src/qtwayland-6.3.1/src/compositor/extensions -I/usr/src/qtwayland-6.3.1/src/compositor/global -I/usr/src/qtwayland-6.3.1/src/compositor/wayland_wrapper -I/usr/src/qtwayland-6.3.1/include/QtWaylandCompositor/6.3.1 -I/usr/src/qtwayland-6.3.1/include/QtWaylandCompositor/6.3.1/QtWaylandCompositor -I/usr/src/qtwayland-6.3.1/include/QtWaylandGlobal -I/usr/src/qtwayland-6.3.1/src -I/usr/src/qtwayland-6.3.1/include/QtWaylandGlobal/6.3.1 -I/usr/src/qtwayland-6.3.1/include/QtWaylandGlobal/6.3.1/QtWaylandGlobal -isystem /usr/local/Qt-6.3.1/include/QtCore -isystem /usr/local/Qt-6.3.1/include -isystem /usr/local/Qt-6.3.1/mkspecs/linux-g++ -isystem /usr/local/Qt-6.3.1/include/QtGui -isystem /usr/local/Qt-6.3.1/include/QtCore/6.3.1 -isystem /usr/local/Qt-6.3.1/include/QtCore/6.3.1/QtCore -isystem /usr/local/Qt-6.3.1/include/QtGui/6.3.1 -isystem /usr/local/Qt-6.3.1/include/QtGui/6.3.1/QtGui -isystem /usr/local/Qt-6.3.1/include/QtOpenGL -s -DNDEBUG -O3 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -fno-exceptions -fPIC -pthread -std=c++17 -MD -MT src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandquickextension.cpp.o -MF src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandquickextension.cpp.o.d -o src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandquickextension.cpp.o -c /usr/src/qtwayland-6.3.1/src/compositor/global/qwaylandquickextension.cpp
      In file included from /usr/src/qtwayland-6.3.1/src/compositor/global/qwaylandquickextension.cpp:30:
      /usr/src/qtwayland-6.3.1/src/compositor/global/qwaylandquickextension.h:34:10: fatal error: QtQml/QQmlParserStatus: No such file or directory
       #include <QtQml/QQmlParserStatus>
                ^~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      [309/503] Building CXX object src/compositor/CMakeFiles/WaylandCompositor.dir/global/qwaylandcompositorextension.cpp.o
      [310/503] Building CXX object src/compositor/CMakeFiles/WaylandCompositor.dir/extensions/qwaylandxdgshell.cpp.o
      ninja: build stopped: subcommand failed.
      Error: Process completed with exit code 1.
      

      Attachments

        Issue Links

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

          Activity

            People

              qt.team.graphics.and.multimedia Qt Graphics Team
              fengyu fengyu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes