Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. If I configure Qt 5.10 for a build on Windows
Forum Updated to NodeBB v4.3 + New Features

If I configure Qt 5.10 for a build on Windows

Scheduled Pinned Locked Moved Unsolved QtWebEngine
13 Posts 2 Posters 3.5k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #3

    Hi,

    Not tried but you should add the -voption to see what is happening with QtWebEngine.

    By the way, what compiler are you using ?

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

    V 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Not tried but you should add the -voption to see what is happening with QtWebEngine.

      By the way, what compiler are you using ?

      V Offline
      V Offline
      VRHans
      wrote on last edited by
      #4

      @SGaist vs 2015 update 3 (QtWebEngine specifies it requires this at a minimum.)

      It looks like I'm building QtWebEngine now (previously it looked like dependencies but I believe it was actually just rebuilding part of the regular Qt Framework.) Chromium is building this time.

      1 Reply Last reply
      0
      • V Offline
        V Offline
        VRHans
        wrote on last edited by
        #5

        It appears that you must, and I'm guessing here, build Qt without a shadow build BEFORE you attempt to build QtWebEngine.

        The build just broke stating:

        Reading C:/QTBUILD/qt-everywhere-src-5.10.0/qtwebengine/src/core/core.pro
        Reading C:/QTBUILD/qt-everywhere-src-5.10.0/qtwebengine/src/core/core_headers.pro
        Reading C:/QTBUILD/qt-everywhere-src-5.10.0/qtwebengine/src/core/core_generator.pro
        Project ERROR: Unknown module(s) in QT: qml quick webchannel

        I'm going to go ahead, pollute my source directory with the qt build, and try again...

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRHans
          wrote on last edited by
          #6

          Well, interestingly enough - when not using a shadow build directory, configure reports on QtWebEngine:

          Qt WebEngine:
          Embedded build ......................... no
          Pepper Plugins ......................... yes
          Printing and PDF ....................... yes
          Proprietary Codecs ..................... no
          Spellchecker ........................... yes
          Native Spellchecker .................... no
          WebRTC ................................. yes
          Use System Ninja ....................... no
          Geolocation ............................ yes

          Note: No wayland-egl support detected. Cross-toolkit compatibility disabled.

          Qt is now configured for building. Just run 'nmake'.
          Once everything is built, you must run 'nmake install'.
          Qt will be installed into 'c:\QTBUILD\results'.

          Prior to reconfiguration, make sure you remove any leftovers from
          the previous build.

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

            That's surprising. Did you re-call configure in the same folder without cleanup ? That's a thing to avoid, you might have leftovers from prior trial that might wreak havoc.

            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
            • V Offline
              V Offline
              VRHans
              wrote on last edited by
              #8

              I did not, I've only previously called configure from my shadow build directory.
              BTW, I've tried the various 'clean' methods people mention but none actually clean the configuration - I either have to delete the shadow build directory or - if I'm not building in a shadow directory - blow away and recopy the source directory.

              Since it appears you cannot build QtWebEngine with Qt from a shadow directory, I'm not building in the source directory itself.

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

                I wonder it is something like QTBUG-44002.

                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
                • V Offline
                  V Offline
                  VRHans
                  wrote on last edited by
                  #10

                  I suspect it's due to the complexity of manipulating chromium and its dependencies outside of the the source directory due to either rapidity of change or it being 'build system tech debt' - but I'm just speculating.

                  It wouldn't be the end of the world except I can't seem to find out the particular steps to build QtWebEngine... Each failure is likely to require me to replace the source and therefore rebuild all of Qt along the way. This takes a long time (as you would know) before you even get to try building QtWebEngine...

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

                    You could also just build the QtWebEngine module using:

                    cd qtwebengine
                    /path/to/qmake -r
                    nmake
                    nmake install
                    

                    You should also consider replacing nmake by jom. It should paralelize the build better.

                    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
                    • V Offline
                      V Offline
                      VRHans
                      wrote on last edited by
                      #12

                      If it doesn't build by default this time, that's what I'm going to do. Thx

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        VRHans
                        wrote on last edited by
                        #13

                        I believe it succeeded. I'll validate, and then I think I'm going to update the wiki :).

                        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 Extensions
                        • Unsolved