Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5 WebEngineWidgets missing
Qt 6.12 LTS is out! See what's new in the release blog

Qt5 WebEngineWidgets missing

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 2.2k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • franco.amatoF Offline
    franco.amatoF Offline
    franco.amato
    wrote on last edited by franco.amato
    #1

    I have a project that depends on Qt5WebEngineWidgets:

    find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets WebEngineWidgets Network LinguistTools)
    

    In my system I have Qt 5.15.2. I tried to install that component using the Qt MaintenanceTool but it seems that I have not that option fot Qt5. How can I install it?

    I run cmake in this way:

    cmake -DCMAKE_PREFIX_PATH="C:/Qt/5.15.5/msvc2019_64" -DCMAKE_INSTALL_PREFIX="C:/Workspace/Libs/aws-cpp-sdk-all" -DCMAKE_TOOLCHAIN_FILE="E:/vcpkg/scripts/buildsystems/vcpkg.cmake" ..
    

    And this is the error:

    Could not find a package configuration file provided by
      "Qt5WebEngineWidgets" with any of the following names:
    
        Qt5WebEngineWidgetsConfig.cmake
        qt5webenginewidgets-config.cmake
    
      Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
      or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
      files.  If "Qt5WebEngineWidgets" provides a separate development package or
      SDK, be sure it has been installed.
    

    My compiler is Visual Studio 2019

    jsulmJ 1 Reply Last reply
    0
    • franco.amatoF franco.amato

      I have a project that depends on Qt5WebEngineWidgets:

      find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Widgets WebEngineWidgets Network LinguistTools)
      

      In my system I have Qt 5.15.2. I tried to install that component using the Qt MaintenanceTool but it seems that I have not that option fot Qt5. How can I install it?

      I run cmake in this way:

      cmake -DCMAKE_PREFIX_PATH="C:/Qt/5.15.5/msvc2019_64" -DCMAKE_INSTALL_PREFIX="C:/Workspace/Libs/aws-cpp-sdk-all" -DCMAKE_TOOLCHAIN_FILE="E:/vcpkg/scripts/buildsystems/vcpkg.cmake" ..
      

      And this is the error:

      Could not find a package configuration file provided by
        "Qt5WebEngineWidgets" with any of the following names:
      
          Qt5WebEngineWidgetsConfig.cmake
          qt5webenginewidgets-config.cmake
      
        Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
        or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
        files.  If "Qt5WebEngineWidgets" provides a separate development package or
        SDK, be sure it has been installed.
      

      My compiler is Visual Studio 2019

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @franco-amato Is Qt WebEngine module installed?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • franco.amatoF Offline
        franco.amatoF Offline
        franco.amato
        wrote on last edited by
        #3

        @jsulm The Qt WebEngineit is not appearing in the list of additional modules for Qt5, only for Qt 6x

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          You mention 5.15.2 but the path you show is 5.15.5. Where is the typo ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • franco.amatoF Offline
            franco.amatoF Offline
            franco.amato
            wrote on last edited by
            #5

            Sorry for the mistake, my Qt version is 5.15.2

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt
            • Unsolved