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. Compile Qt 5.13.2 with QtWebEngine issue

Compile Qt 5.13.2 with QtWebEngine issue

Scheduled Pinned Locked Moved Solved General and Desktop
19 Posts 3 Posters 3.2k 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.
  • Christian EhrlicherC Christian Ehrlicher

    Instead posting some screenshots it would be nice to see the actual error which should have happened some lines above.

    Cobra91151C Offline
    Cobra91151C Offline
    Cobra91151
    wrote on last edited by Cobra91151
    #10

    @Christian-Ehrlicher

    Hello!

    Actually, there is no error it just skips to build the QtWebEngine when building Qt (all modules). When building QtWebEngine separately it displays only these issues, which I have added in the previous post and in the bug report.

    ninja: build stopped: subcommand failed.
    jom: C:\QtBuild\QtWebEngine\src\core\Makefile.gn_run.Release [run_ninja] Error 1
    jom: C:\QtBuild\QtWebEngine\src\core\Makefile.gn_run [release] Error 2
    jom: C:\QtBuild\QtWebEngine\src\core\Makefile [sub-gn_run-pro-make_first] Error 2
    jom: C:\QtBuild\QtWebEngine\src\Makefile [sub-core-make_first] Error 2
    jom: C:\QtBuild\QtWebEngine\Makefile [sub-src-make_first] Error 2
    

    For x64 everything compiles well, I think the problem is with ninja path when using x64_x86 Cross Tools Command Prompt for VS. I will try to use the system ninja from VS 2019. Thanks.

    1 Reply Last reply
    0
    • Cobra91151C Offline
      Cobra91151C Offline
      Cobra91151
      wrote on last edited by Cobra91151
      #11

      I have added the ninja path from VS 2019 to environment variable, but it still skips QtWebEngine build and no error is printed:

      Qt built but QtWebEngine skipped.png

      In the config.log file I found the following errors:

      > main.cpp(2): fatal error C1083: Cannot open include file: 'alloca.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\alloca_h\Makefile [main.obj] Error 2
      
      > main.c(5): fatal error C1189: #error:  __STDC_VERSION__ must be >= 199901L
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\c99\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\posix_fallocate\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'sys/eventfd.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\eventfd\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'sys/inotify.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\inotify\Makefile [main.obj] Error 2
      
      > main.cpp(4): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\cloexec\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\getifaddrs\Makefile [main.obj] Error 2
      
      > main.cpp(3): fatal error C1083: Cannot open include file: 'sys/socket.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\ipv6ifname\Makefile [main.obj] Error 2
      
      > main.cpp(5): fatal error C1083: Cannot open include file: 'linux/input.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\evdev\Makefile [main.obj] Error 2
      
      > main.cpp(2): fatal error C1083: Cannot open include file: 'linux/fb.h': No such file or directory
      > jom: C:\QtBuild\qt-everywhere-src-5.13.2\config.tests\linuxfb\Makefile [main.obj] Error 2
      

      Qt 5.13.2 compiles successfully, but for some reason it automatically skips the QtWebEngine build.

      1 Reply Last reply
      0
      • Cobra91151C Offline
        Cobra91151C Offline
        Cobra91151
        wrote on last edited by
        #12

        I have checked the config.log from x64 compilation and it displays the same errors but QtWebEngine compiles successfully. I think, something is missing for x86.

        I think, it could be the issue with the latest Windows 10 version 1909 build 18363.476, because it uses Win Dev Kit 18362.1, Qt 5.13.2 was released: October 31, 2019. So, I think, it was built on previous Win 10 version 1903. I will try tomorrow to build it on VM.

        C 1 Reply Last reply
        0
        • Cobra91151C Cobra91151

          I have checked the config.log from x64 compilation and it displays the same errors but QtWebEngine compiles successfully. I think, something is missing for x86.

          I think, it could be the issue with the latest Windows 10 version 1909 build 18363.476, because it uses Win Dev Kit 18362.1, Qt 5.13.2 was released: October 31, 2019. So, I think, it was built on previous Win 10 version 1903. I will try tomorrow to build it on VM.

          C Offline
          C Offline
          cawlfj
          wrote on last edited by cawlfj
          #13

          @Cobra91151
          Could you share how build qt with mysql?
          You have a topic about how to build qt with mysql , but it need separately build Openssl and mysql libs .
          Now QT5.13.2 has include OPENSSL , do you have simply build steps for qt with mysql? (or mariadb)

          1 Reply Last reply
          0
          • Cobra91151C Offline
            Cobra91151C Offline
            Cobra91151
            wrote on last edited by Cobra91151
            #14

            @cawlfj

            Hello!

            Currently, I am busy. I am working to fix the Qt 5.13.2 QtWebEngine build issue for x86 architecture.

            I want to combine mysql-5.7.28 with the latest openssl-1.1.1d and QtWebEngine. Qt 5.13.2 has older OpenSSL included. You can contact me in the chat, so we can discuss it.

            1 Reply Last reply
            0
            • Cobra91151C Offline
              Cobra91151C Offline
              Cobra91151
              wrote on last edited by
              #15

              I have checked it on VM on Windows 10 version 1903, but it still skips to build QtWebEngine when building Qt 5.13.2. I think, there is a bug. I will try to build Qt 5.12.X LTS and check if it compiles or not.

              1 Reply Last reply
              0
              • Cobra91151C Offline
                Cobra91151C Offline
                Cobra91151
                wrote on last edited by
                #16

                I have tried to build Qt 5.12.6 LTS with QtWebEngine but the same issue is present for x86 architecture using x64_x86 Cross Tools Command Prompt for VS. It compiles Qt and skips the QtWebEngine build. I will switch back to Qt 5.9.8 LTS.

                1 Reply Last reply
                0
                • Cobra91151C Offline
                  Cobra91151C Offline
                  Cobra91151
                  wrote on last edited by Cobra91151
                  #17

                  Ok. The problem was that older Qt 5.9.8 mixed up with Qt 5.13.2 because I had added paths for Qt 5.9.8 in the PATH environment variable. I have removed these paths and built Qt and then built QtWebEngine module separately, because it still skips QtWebEngine module when building all Qt modules. Anyway, I have figured it out and now it is all working except for the windeployqt.exe utility, it is missing. Any ideas where to get or how to build the windeployqt.exe? Thanks.

                  1 Reply Last reply
                  1
                  • Cobra91151C Offline
                    Cobra91151C Offline
                    Cobra91151
                    wrote on last edited by
                    #18

                    So, I have found that windeployqt.exe utility is actually built (it is exists in the ..qttools\bin directory) but for some reason it does not copy to the appropriate directory when I run jom install command.

                    1 Reply Last reply
                    1
                    • Cobra91151C Offline
                      Cobra91151C Offline
                      Cobra91151
                      wrote on last edited by
                      #19

                      Ok. I have compiled Qt 5.13.2 for x86 successfully. I have built some tools separately, because it skips them or just do not copy to the appropriate directory using jom install command. It is strange, because when building for x64 architecture all tools are built and copied correctly. Anyway, now I have Qt 5.13.2 for msvc2017, msvc2017_64, msvc2019, msvc2019_64.

                      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