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. Building Qt from source, qtwebengine missing
Forum Updated to NodeBB v4.3 + New Features

Building Qt from source, qtwebengine missing

Scheduled Pinned Locked Moved Solved General and Desktop
21 Posts 3 Posters 13.4k Views 1 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.
  • M Offline
    M Offline
    maximus
    wrote on last edited by
    #11

    I am a newbie when I need to diverge from the steps.

    How can I build qtwebengine separatly? I have already done nmake and nmake install,

    I am in the qt5 source folder of qtwebengine
    Thanks

    D:\qt5\qtwebengine>


    Free Indoor Cycling Software - https://maximumtrainer.com

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #12
      mkdir D:\build_qtwebengine
      cd D:\build_qtwebengine
      \path\to\qmake.exe D:\qt5\qtwebengine
      jom.exe
      jom.exe install
      

      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
      1
      • SGaistS SGaist
        mkdir D:\build_qtwebengine
        cd D:\build_qtwebengine
        \path\to\qmake.exe D:\qt5\qtwebengine
        jom.exe
        jom.exe install
        
        M Offline
        M Offline
        maximus
        wrote on last edited by maximus
        #13

        @SGaist

        Looking good but the step remove that flag "Proprietary Codecs " that I had set up previously when configuring at the qt5 root folder. Anyway to redo that step?
        Why is running nmake on qt5 source root not building qtwebengine? I am a bit confuse.
        Thanks

        D:\build_qtwebengine>D:\qt5.11.0_alpha\bin\qmake.exe D:\qt5\qtwebengine

        Running configuration tests...
        Done running configuration tests.

        Configure summary:

        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
        Use v8 snapshot ........................ yes

        Qt is now configured for building. Just run 'nmake'.
        Once everything is built, Qt is installed.
        You should NOT run 'nmake install'.
        Note that this build cannot be deployed to other machines or devices.

        Trying to understand init repository help:
        would this be possible?
        perl ./init-repository --module-subset=all,-qtenginio
        Will try..

        *--module-subset=<module1>,<module2>...
            Only initialize the specified subset of modules given as the
            argument. Specified modules must already exist in .gitmodules. The
            string "all" results in cloning all known modules. The strings
            "essential", "addon", "preview", "deprecated", "obsolete", and
            "ignore" refer to classes of modules; "default" maps to
            "essential,addon,preview,deprecated", which corresponds with the
            set of maintained modules and is also the default set. Module
            names may be prefixed with a dash to exclude them from a bigger
            set, e.g. "all,-ignore".*
        

        Free Indoor Cycling Software - https://maximumtrainer.com

        1 Reply Last reply
        0
        • M Offline
          M Offline
          maximus
          wrote on last edited by maximus
          #14

          Here is my latest try with
          perl ./init-repository --module-subset=all,-qtenginio

          graphicsitems\qdeclarativetextinput.cpp(517): error C2039: 'setCursorBlinkPeriod': is not a member of 'QWidgetLineControl'
          d:\qt5\qtbase\include\qtwidgets\5.11.0\qtwidgets\private\../../../../../src/widgets/widgets/qwidgetlinecontrol_p.h(82): note: see declaration of 'QWidgetLineControl'
          qdeclarativetext.cpp
          qdeclarativetextedit.cpp
          

          now trying with:
          perl ./init-repository --module-subset=all,-qtenginio,-qtquick1,-qtquickcontrols2


          Free Indoor Cycling Software - https://maximumtrainer.com

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

            Strange, did you try with the sources of the latest beta release rather than a clone ?

            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
            0
            • SGaistS SGaist

              Strange, did you try with the sources of the latest beta release rather than a clone ?

              M Offline
              M Offline
              maximus
              wrote on last edited by maximus
              #16

              @SGaist

              I use the latest tag available, v5.11.0-alpha1
              Needed the latest chromium available.

              git clone https://code.qt.io/qt/qt5.git
              cd qt5
              git checkout v5.11.0-alpha1

              Just wish there was a flag -subset=default with qtwebengine


              Free Indoor Cycling Software - https://maximumtrainer.com

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

                Since it seems to cause you trouble, don't use subset and just delete the modules you don't use or use the -skip option of configure.

                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
                0
                • SGaistS SGaist

                  Since it seems to cause you trouble, don't use subset and just delete the modules you don't use or use the -skip option of configure.

                  M Offline
                  M Offline
                  maximus
                  wrote on last edited by maximus
                  #18

                  @SGaist

                  Thanks SGaist, our champion,
                  Finally, I just removed qtenginio from the makefile and rebuilt.

                  Maybe removing qtenginio from the build would be good, since it fail to build by default on windows.
                  Cheers,
                  Max

                  for the other, step used to build from scratch :
                  {code}
                  git clone https://code.qt.io/qt/qt5.git
                  cd qt5
                  git checkout v5.11.0-beta4
                  perl ./init-repository --module-subset=all
                  configure -opensource -confirm-license -release -webengine-pepper-plugins -webengine-proprietary-codecs ....etc
                  --remove module not wanted; all occurence of -qtenginio inside file Makefile
                  nmake
                  nmake install
                  {code}


                  Free Indoor Cycling Software - https://maximumtrainer.com

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

                    Great !

                    Thanks for the feedback :)

                    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
                    • M Offline
                      M Offline
                      maximus
                      wrote on last edited by
                      #20

                      found out why QtWebengine was not being built, it require MSVC2017 to be built, yet the configure and make command do not give any feedback if you use MSVC2015, then the binary are just not there.
                      Solved


                      Free Indoor Cycling Software - https://maximumtrainer.com

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

                        Thanks for sharing !

                        I just checked the documentation snapshot and indeed the specs have been bumped to VS2017 only.

                        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

                        • Login

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