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

[WebEngine] Some of the Web Engine examples could not be configured on Linux Ubuntu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P1: Critical P1: Critical
    • None
    • 6.8.0 Beta4
    • None
    • Linux/Wayland

      Linux Ubuntu 22.04.4 / Wayland

      Steps to reproduce:

      1. Open Qt Creator and Examples tab
      2. Try to run any Web Engine example:
        1. html2pdf
        2. notifications
        3. simple browser 

      Expected: The app can be run

      Actual: Getting erros while configuring. No issue on MacOS.:

      /home/lukasz/Qt/Examples/Qt-6.8.0/webenginewidgets/notifications/CMakeLists.txt:15: error: Found package configuration file:  /home/lukasz/Qt/6.8.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmakebut it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
      FOUND.  Reason given by package:Failed to find required Qt component "WebEngineWidgets".Expected Config file at
      "/home/lukasz/Qt/6.8.0/gcc_64/lib/cmake/Qt6WebEngineWidgets/Qt6WebEngineWidgetsConfig.cmake"
      exists
      :-1: error: The command "/snap/bin/cmake -S /home/lukasz/Qt/Examples/Qt-6.8.0/webenginewidgets/notifications -B /home/lukasz/Qt/Examples/Qt-6.8.0/webenginewidgets/notifications/build/Desktop_Qt_6_8_0-Debug -DCMAKE_GENERATOR:STRING=Ninja -DCMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++ -DCMAKE_CXX_FLAGS_INIT:STRING=-DQT_QML_DEBUG -DQT_QMAKE_EXECUTABLE:FILEPATH=/home/lukasz/Qt/6.8.0/gcc_64/bin/qmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_C_COMPILER:FILEPATH=/usr/bin/gcc -DCMAKE_PROJECT_INCLUDE_BEFORE:FILEPATH=/home/lukasz/Qt/Examples/Qt-6.8.0/webenginewidgets/notifications/build/Desktop_Qt_6_8_0-Debug/.qtc/package-manager/auto-setup.cmake -DCMAKE_PREFIX_PATH:PATH=/home/lukasz/Qt/6.8.0/gcc_64" terminated with exit code 1.
      :-1: error: CMake project configuration failed. No CMake configuration for build type "Debug" found. Check General Messages for more information. 

      Reproducibility:  100% 

        1. InstallationLog.txt
          916 kB
        2. components.xml
          468 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            tejokitu Teemu Jokitulppo
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes