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

Details

    • Bug
    • Resolution: Unresolved
    • P1: Critical
    • None
    • 6.8.0 Beta4
    • None
    • Linux/Wayland

    Description

      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% 

      Attachments

        1. components.xml
          468 kB
        2. InstallationLog.txt
          916 kB

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes