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

Examples "webenginequick" and "webenginewidgets" fail to open in QtCreator as cmake projects

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 6.4.0
    • WebEngine
    • None
    • macOS

    Description

      Both can be opened as qmake projects, though. "quicknanobrowser" works OK as well. Here is the log for 

      Running /Users/vladimir/Qt/Tools/CMake/CMake.app/Contents/bin/cmake -S /Users/vladimir/Qt/Examples/Qt-6.4.0/webenginewidgets -B /Users/vladimir/Qt/Examples/Qt-6.4.0/build-webenginewidgets-Qt_6_4_0_for_macOS-Debug in /Users/vladimir/Qt/Examples/Qt-6.4.0/build-webenginewidgets-Qt_6_4_0_for_macOS-Debug.
      CMake Warning (dev) in CMakeLists.txt:
        No project() command is present.  The top-level CMakeLists.txt file must
        contain a literal, direct call to the project() command.  Add a line of
        code such as    project(ProjectName)  near the top of the file, but after cmake_minimum_required().  CMake is pretending there is a "project(Project)" command on the first
        line.
      This warning is for project developers.  Use -Wno-dev to suppress it.CMake Error at CMakeLists.txt:1 (qt_internal_add_example):
        Unknown CMake command "qt_internal_add_example".
      CMake Warning (dev) in CMakeLists.txt:
        No cmake_minimum_required command is present.  A line of code such as    cmake_minimum_required(VERSION 3.23)  should be added at the top of the file.  The version specified may be lower
        if you wish to support older CMake versions for this project.  For more
        information run "cmake --help-policy CMP0000".
      This warning is for project developers.  Use -Wno-dev to suppress it.-- Configuring incomplete, errors occurred!
      See also "/Users/vladimir/Qt/Examples/Qt-6.4.0/build-webenginewidgets-Qt_6_4_0_for_macOS-Debug/CMakeFiles/CMakeOutput.log".
      CMake process exited with exit code 1.Elapsed time: 00:00.
      
      

       

      Attachments

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

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            vminenko Vladimir Minenko
            Vladimir Minenko Vladimir Minenko
            Alex Blasche Alex Blasche
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes