Cmake cannot find module Qt5WebEngineWidgets












2














I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86.



I've set $QTDIR to



/home/user/.qt/5.5/gcc/


as well as $CMAKE_PREFIX_PATH



I've even set $Qt5WebEngineWidgets_DIR to



/home/user/.qt/5.5/gcc/lib/cmake/Qt5WebEngineWidgets


The directory exists and the required files are in there.



Cmake still errors



CMake Warning at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (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):
CMakeLists.txt:127 (qt5_use_modules)


CMake Error at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
Can not use "WebEngineWidgets" module which has not yet been found.
Call Stack (most recent call first):
CMakeLists.txt:127 (qt5_use_modules)









share|improve this question
















bumped to the homepage by Community yesterday


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.




















    2














    I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86.



    I've set $QTDIR to



    /home/user/.qt/5.5/gcc/


    as well as $CMAKE_PREFIX_PATH



    I've even set $Qt5WebEngineWidgets_DIR to



    /home/user/.qt/5.5/gcc/lib/cmake/Qt5WebEngineWidgets


    The directory exists and the required files are in there.



    Cmake still errors



    CMake Warning at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (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):
    CMakeLists.txt:127 (qt5_use_modules)


    CMake Error at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
    Can not use "WebEngineWidgets" module which has not yet been found.
    Call Stack (most recent call first):
    CMakeLists.txt:127 (qt5_use_modules)









    share|improve this question
















    bumped to the homepage by Community yesterday


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.


















      2












      2








      2







      I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86.



      I've set $QTDIR to



      /home/user/.qt/5.5/gcc/


      as well as $CMAKE_PREFIX_PATH



      I've even set $Qt5WebEngineWidgets_DIR to



      /home/user/.qt/5.5/gcc/lib/cmake/Qt5WebEngineWidgets


      The directory exists and the required files are in there.



      Cmake still errors



      CMake Warning at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (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):
      CMakeLists.txt:127 (qt5_use_modules)


      CMake Error at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
      Can not use "WebEngineWidgets" module which has not yet been found.
      Call Stack (most recent call first):
      CMakeLists.txt:127 (qt5_use_modules)









      share|improve this question















      I want to compile QSyncthingTray (https://github.com/sieren/QSyncthingTray) on my notebook running arch linux x86.



      I've set $QTDIR to



      /home/user/.qt/5.5/gcc/


      as well as $CMAKE_PREFIX_PATH



      I've even set $Qt5WebEngineWidgets_DIR to



      /home/user/.qt/5.5/gcc/lib/cmake/Qt5WebEngineWidgets


      The directory exists and the required files are in there.



      Cmake still errors



      CMake Warning at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:326 (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):
      CMakeLists.txt:127 (qt5_use_modules)


      CMake Error at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:328 (message):
      Can not use "WebEngineWidgets" module which has not yet been found.
      Call Stack (most recent call first):
      CMakeLists.txt:127 (qt5_use_modules)






      arch-linux cmake






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Sep 9 '16 at 0:00









      Jeff Schaller

      38.4k1053125




      38.4k1053125










      asked Jun 9 '16 at 19:37









      Unkn0wn

      334




      334





      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community yesterday


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0

















          »» Can not use "WebEngineWidgets" module which has not yet been found ««




          Qt5WebEngineWidgets seems to be provided by qtwebengine-opensource-src-5.6.0.tar.xz https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/



          ? Easier to build version 5.4 ? : qtwebengine-5.4.1 → qtwebengine-opensource-src-5.4.1.tar.xz ... The patch qtwebengine-opensource-src-5.4.0-gyp_conf.patch (and the .tar.xz) can be found in qt5-qtwebengine-5.4.1-1.fc21.src.rpm ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel%3A/cloverleaf%3A/testing%3A/frameworks/devel_cloverleaf_testing_Fedora_21/src/qt5-qtwebengine-5.4.1-1.fc21.src.rpm





          EDIT : QSyncthingTray can be built with qtwebengine-5.6 only. Fails with v5.4 .



          I found an OS with a working qtwebengine-5.6 : PCLinuxOS 2016 - 64bits → lib64qt5webengine-devel-5.6.0-2pclos2016, and QSyncthingTray builds in a few seconds.









          share|improve this answer























          • @Unkn0wn : Please see my edited post. -
            – Knud Larsen
            Jun 11 '16 at 12:19













          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f288787%2fcmake-cannot-find-module-qt5webenginewidgets%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0

















          »» Can not use "WebEngineWidgets" module which has not yet been found ««




          Qt5WebEngineWidgets seems to be provided by qtwebengine-opensource-src-5.6.0.tar.xz https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/



          ? Easier to build version 5.4 ? : qtwebengine-5.4.1 → qtwebengine-opensource-src-5.4.1.tar.xz ... The patch qtwebengine-opensource-src-5.4.0-gyp_conf.patch (and the .tar.xz) can be found in qt5-qtwebengine-5.4.1-1.fc21.src.rpm ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel%3A/cloverleaf%3A/testing%3A/frameworks/devel_cloverleaf_testing_Fedora_21/src/qt5-qtwebengine-5.4.1-1.fc21.src.rpm





          EDIT : QSyncthingTray can be built with qtwebengine-5.6 only. Fails with v5.4 .



          I found an OS with a working qtwebengine-5.6 : PCLinuxOS 2016 - 64bits → lib64qt5webengine-devel-5.6.0-2pclos2016, and QSyncthingTray builds in a few seconds.









          share|improve this answer























          • @Unkn0wn : Please see my edited post. -
            – Knud Larsen
            Jun 11 '16 at 12:19


















          0

















          »» Can not use "WebEngineWidgets" module which has not yet been found ««




          Qt5WebEngineWidgets seems to be provided by qtwebengine-opensource-src-5.6.0.tar.xz https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/



          ? Easier to build version 5.4 ? : qtwebengine-5.4.1 → qtwebengine-opensource-src-5.4.1.tar.xz ... The patch qtwebengine-opensource-src-5.4.0-gyp_conf.patch (and the .tar.xz) can be found in qt5-qtwebengine-5.4.1-1.fc21.src.rpm ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel%3A/cloverleaf%3A/testing%3A/frameworks/devel_cloverleaf_testing_Fedora_21/src/qt5-qtwebengine-5.4.1-1.fc21.src.rpm





          EDIT : QSyncthingTray can be built with qtwebengine-5.6 only. Fails with v5.4 .



          I found an OS with a working qtwebengine-5.6 : PCLinuxOS 2016 - 64bits → lib64qt5webengine-devel-5.6.0-2pclos2016, and QSyncthingTray builds in a few seconds.









          share|improve this answer























          • @Unkn0wn : Please see my edited post. -
            – Knud Larsen
            Jun 11 '16 at 12:19
















          0












          0








          0









          »» Can not use "WebEngineWidgets" module which has not yet been found ««




          Qt5WebEngineWidgets seems to be provided by qtwebengine-opensource-src-5.6.0.tar.xz https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/



          ? Easier to build version 5.4 ? : qtwebengine-5.4.1 → qtwebengine-opensource-src-5.4.1.tar.xz ... The patch qtwebengine-opensource-src-5.4.0-gyp_conf.patch (and the .tar.xz) can be found in qt5-qtwebengine-5.4.1-1.fc21.src.rpm ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel%3A/cloverleaf%3A/testing%3A/frameworks/devel_cloverleaf_testing_Fedora_21/src/qt5-qtwebengine-5.4.1-1.fc21.src.rpm





          EDIT : QSyncthingTray can be built with qtwebengine-5.6 only. Fails with v5.4 .



          I found an OS with a working qtwebengine-5.6 : PCLinuxOS 2016 - 64bits → lib64qt5webengine-devel-5.6.0-2pclos2016, and QSyncthingTray builds in a few seconds.









          share|improve this answer

















          »» Can not use "WebEngineWidgets" module which has not yet been found ««




          Qt5WebEngineWidgets seems to be provided by qtwebengine-opensource-src-5.6.0.tar.xz https://download.qt.io/official_releases/qt/5.6/5.6.0/submodules/



          ? Easier to build version 5.4 ? : qtwebengine-5.4.1 → qtwebengine-opensource-src-5.4.1.tar.xz ... The patch qtwebengine-opensource-src-5.4.0-gyp_conf.patch (and the .tar.xz) can be found in qt5-qtwebengine-5.4.1-1.fc21.src.rpm ftp://ftp.pbone.net/mirror/ftp5.gwdg.de/pub/opensuse/repositories/devel%3A/cloverleaf%3A/testing%3A/frameworks/devel_cloverleaf_testing_Fedora_21/src/qt5-qtwebengine-5.4.1-1.fc21.src.rpm





          EDIT : QSyncthingTray can be built with qtwebengine-5.6 only. Fails with v5.4 .



          I found an OS with a working qtwebengine-5.6 : PCLinuxOS 2016 - 64bits → lib64qt5webengine-devel-5.6.0-2pclos2016, and QSyncthingTray builds in a few seconds.










          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Jun 11 '16 at 12:19

























          answered Jun 10 '16 at 20:01









          Knud Larsen

          988147




          988147












          • @Unkn0wn : Please see my edited post. -
            – Knud Larsen
            Jun 11 '16 at 12:19




















          • @Unkn0wn : Please see my edited post. -
            – Knud Larsen
            Jun 11 '16 at 12:19


















          @Unkn0wn : Please see my edited post. -
          – Knud Larsen
          Jun 11 '16 at 12:19






          @Unkn0wn : Please see my edited post. -
          – Knud Larsen
          Jun 11 '16 at 12:19




















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.





          Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


          Please pay close attention to the following guidance:


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f288787%2fcmake-cannot-find-module-qt5webenginewidgets%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Entries order in /etc/network/interfaces

          新発田市

          Grub takes very long (several minutes) to open Menu (in Multi-Boot-System)