Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved If I configure Qt 5.10 for a build on Windows

    QtWebEngine
    2
    13
    2604
    Loading More Posts
    • 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.
    • V
      VRHans last edited by

      using latest source package from downloads page:

      configure.bat -openssl -L C:\OpenSSL-Win64\lib -I C:\OpenSSL-Win64\include -confirm-license -commercial -prefix c:\QTBUILD\results -release -opengl dynamic -nomake examples -nomake tests

      I don't see any mention of QtWebEngine in the config output - I expected to see mention that QtWebEngine was enabled/available/something.

      When I then nmake to build Qt - Qt builds just fine - but no QtWebEngine.

      I didn't receive errors of any kind during config, I didn't receive errors of any kind during the build.

      Now, when I try to manually trigger a QtWebEngine build by calling qmake directory and pointing it to the QtWebEngine source in the 5.10 source directory - I get a miniature config output that's all about QtWebEngine.

      At this point I can call nmake and away it goes. It's still building now - and presumably will for a long time.

      I may be wrong, but I swear that a 5.10 source package I pulled down just three weeks ago worked differently - the base Qt config mentioned QtWebEngine... Am I missing something obvious or just misremembering?

      Thanks :)

      1 Reply Last reply Reply Quote 0
      • V
        VRHans last edited by

        Well, it spent 2 hours building, no errors, and no QtWebEngine...
        Apparently, even though the output looks the same as when you use configure.bat, you can't call nmake the same way.
        I guess that just borked the Qt shadow build directory.

        So, now I've moved back into the source directory (assuming that shadow builds either don't work for QtWebEngine - or I'm not doing it right by trying to do it like the rest of Qt) and trying to use qmake directly via "qmake -r"

        Anyone built QtWebEngine on Windows recently?

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          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 Reply Quote 0
          • V
            VRHans @SGaist last edited by

            @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 Reply Quote 0
            • V
              VRHans last edited by

              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 Reply Quote 0
              • V
                VRHans last edited by

                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 Reply Quote 0
                • SGaist
                  SGaist Lifetime Qt Champion last edited by

                  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 Reply Quote 0
                  • V
                    VRHans last edited by

                    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 Reply Quote 0
                    • SGaist
                      SGaist Lifetime Qt Champion last edited by

                      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 Reply Quote 0
                      • V
                        VRHans last edited by

                        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 Reply Quote 0
                        • SGaist
                          SGaist Lifetime Qt Champion last edited by

                          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 Reply Quote 0
                          • V
                            VRHans last edited by

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

                            1 Reply Last reply Reply Quote 0
                            • V
                              VRHans last edited by

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

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post