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

QT5_USE_MODULES generates "Could not find a package configuration"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 5.9.0
    • WebEngine
    • None

    Description

      Line   QT5_USE_MODULES(ProjName WebEngineWidgets WebChannel) causes errors:

       
      CMake Warning at C:/Qt/Qt5.9.0/5.9/msvc2015_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:329 (find_package): 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. Call Stack (most recent call first): src/CMakeLists.txt:99 (QT5_USE_MODULES)

      5.8 was working ok with this cmake.

      Thanks

      Attachments

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

        Activity

          People

            juri.valdmann Jüri Valdmann (Inactive)
            zoidberg_c Zina Z
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes