Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Can't qmake QtWebengine - "qtwebenginecore-config.pri: No such file or directory"

Can't qmake QtWebengine - "qtwebenginecore-config.pri: No such file or directory"

Scheduled Pinned Locked Moved Solved General and Desktop
qmakeqtwebengineconfiguremakepri
6 Posts 2 Posters 2.9k Views
  • 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.
  • M Offline
    M Offline
    Mohammadsm
    wrote on 31 Jan 2020, 04:22 last edited by Mohammadsm
    #1

    Hello
    I built qt whit this configuration:

    configure -v -release -opengl es2 -device linux-rasp-pi3-g++ -device-option CROSS_COMPILE=/home/doxa/raspi/gcc-linaro-6.3.1-2017.02-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf- -opensource -confirm-license -sysroot /home/doxa/raspi/sysroot -make libs -nomake tests -nomake tools -nomake examples -skip qt3d -skip qtgamepad -skip qtlocation -skip qtsensors -skip qtwayland -skip qtdeclarative -prefix /usr/local/doxas_5.12.4 -extprefix /usr/local/doxas_5.12.4 -hostprefix /usr/local/doxas_5.12.4 -qpa xcb -no-use-gold-linker
    

    Everything done well but, QtWebengine didn't configure.
    Now I want to build and install this module(I did with Qt 5.7), but qmake returns an error:

    doxa@K43SD:/media/doxa/MCBK/rpi_build/websss$ /media/doxa/MCBK/rpi_build/qtbase/bin/qmake /usr/local/Qt5.12.4/5.12.4/Src/qtwebengine/
    Info: creating cache file /media/doxa/MCBK/rpi_build/websss/.qmake.cache
    Cannot read /media/doxa/MCBK/rpi_build/websss/src/core/qtwebenginecore-config.pri: No such file or directory
    Project ERROR: Could not find feature webengine-v8-snapshot-support.
    doxa@K43SD:/media/doxa/MCBK/rpi_build/websss$
    

    the *-config.pri is not available in the source of any module and it has to build during the module build process. I don't know how to generate this file. which tools of Qt should I use?

    Qt: 5.12.4
    Host: Ubuntu 18.04_x64

    Thanks in advance

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 2 Feb 2020, 20:21 last edited by
      #4

      QtWebEngine is a module that is more complicated to build than the other.

      One thing you can do is to try building it "standalone". Since you have the rest of Qt built, you can try to build this one by hand.

      Use an out of source build.

      mkdir build_qtwebengine
      cd buid_qtwebengine
      /path/to/your/cross_compiled_Qt/bin/qmake /path/to/qtwebengine
      

      The configuration tests for the module will be run again and you should see what is missing or failing.

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

      M 1 Reply Last reply 4 Feb 2020, 13:23
      0
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 1 Feb 2020, 16:53 last edited by
        #2

        Hi,

        This usually means that the configuration step did not find all the required dependencies. Check the configuration log to see what was missing.

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

        M 1 Reply Last reply 2 Feb 2020, 05:50
        0
        • S SGaist
          1 Feb 2020, 16:53

          Hi,

          This usually means that the configuration step did not find all the required dependencies. Check the configuration log to see what was missing.

          M Offline
          M Offline
          Mohammadsm
          wrote on 2 Feb 2020, 05:50 last edited by
          #3

          @SGaist
          Hi
          I've checked the log, but didn't find any "failed" lib or module related to qtwebengine in the config.log file.

          Thank you for attention, but I've never had problem like this during crosscompile. :(

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 2 Feb 2020, 20:21 last edited by
            #4

            QtWebEngine is a module that is more complicated to build than the other.

            One thing you can do is to try building it "standalone". Since you have the rest of Qt built, you can try to build this one by hand.

            Use an out of source build.

            mkdir build_qtwebengine
            cd buid_qtwebengine
            /path/to/your/cross_compiled_Qt/bin/qmake /path/to/qtwebengine
            

            The configuration tests for the module will be run again and you should see what is missing or failing.

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

            M 1 Reply Last reply 4 Feb 2020, 13:23
            0
            • S SGaist
              2 Feb 2020, 20:21

              QtWebEngine is a module that is more complicated to build than the other.

              One thing you can do is to try building it "standalone". Since you have the rest of Qt built, you can try to build this one by hand.

              Use an out of source build.

              mkdir build_qtwebengine
              cd buid_qtwebengine
              /path/to/your/cross_compiled_Qt/bin/qmake /path/to/qtwebengine
              

              The configuration tests for the module will be run again and you should see what is missing or failing.

              M Offline
              M Offline
              Mohammadsm
              wrote on 4 Feb 2020, 13:23 last edited by
              #5

              @SGaist
              Hi
              The problem solved, by using out of source qmake(where it was installed).

              Thank you very much

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 4 Feb 2020, 13:56 last edited by
                #6

                Great !

                Since you have it working now, please mark the thread as solved using the "Topic Tools" button so that other forum users may know a solution has been found :-)

                In case, there's an answer that provides the correct hint, you can also use the three button menu to mark it as the correct answer.

                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

                4/6

                2 Feb 2020, 20:21

                • Login

                • Login or register to search.
                4 out of 6
                • First post
                  4/6
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved