Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building from Source Qt 5.15.2 fails
Forum Updated to NodeBB v4.3 + New Features

Building from Source Qt 5.15.2 fails

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
8 Posts 4 Posters 666 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.
  • N Offline
    N Offline
    N Saidharshana
    wrote on last edited by
    #1

    Hi all,
    I am facing this issue while building qt.

    [3035/29113] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DSK_CPU_SSE_LEVEL=41 -DUSE_AURA=1 -DOFFICIAL_BUILD -DTOOLKIT_QT -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP "-DSK_USER_CONFIG_HEADER="../../skia/config/SkUserConfig.h"" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_USE_LIBGIFCODEC -DSK_SUPPORT_GPU=1 "-DSK_GPU_WORKAROUNDS_HEADER="gpu/config/gpu_driver_bug_workaround_autogen.h"" -DGR_GL_FUNCTION_TYPE=__stdcall "-DSK_FREETYPE_MINIMUM_RUNTIME_VERSION=(((FREETYPE_MAJOR) * 0x01000000) | ((FREETYPE_MINOR) * 0x00010000) | ((FREETYPE_PATCH) * 0x00000100))" -DSKIA_IMPLEMENTATION=1 -DSK_GAMMA_SRGB -DSK_GAMMA_CONTRAST=0.5 -DSK_DEFAULT_FONT_CACHE_LIMIT=20971520 -DSK_DEFAULT_FONT_CACHE_COUNT_LIMIT=256 -D_CRT_NONSTDC_NO_WARNINGS -D_CRT_NONSTDC_NO_DEPRECATE -Igen -I../../3rdparty/chromium -I../../3rdparty/chromium/third_party/skia -I../../3rdparty/chromium/third_party/libgifcodec /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /MD /O2 /Ob2 /Oy- /Zc:inline /Gw /wd4244 /wd4267 /wd4341 /wd4345 /wd4390 /wd4554 /wd4748 /wd4800 /wd5041 /W3 /wd4800 /wd4267 /wd4996 /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 /wd4003 /std:c++17 /wd5041 /TP /GR- /std:c++17 /wd4577 /c ../../3rdparty/chromium/third_party/skia/src/opts/SkOpts_sse41.cpp /Foobj/skia/skia_opts_sse41/SkOpts_sse41.obj /Fd"obj/skia/skia_opts_sse41_cc.pdb"
    ninja: build stopped: subcommand failed.
    NMAKE : fatal error U1077: 'call' : return code '0x1'
    Stop.
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: '(' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    I have used this bat file for configuration

    CALL "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvarsall.bat" amd64
    set "CMAKE_ROOT=C:\Program Files\CMake\bin"
    set "NINJA_ROOT=D:\ninja"
    set "PERL_ROOT=C:\Strawberry\perl\bin"

    set PATH=%CMAKE_ROOT%;%PATH%
    set PATH=%NINJA_ROOT%;%PATH%
    set PATH=%PERL_ROOT%;%PATH%
    set PATH=C:\Python27;%PATH%
    set "MY_INSTALL_PATH=D:\qt-build"
    set CL=/MP

    configure.bat -prefix %MY_INSTALL_PATH% -release -platform win32-msvc -nomake examples -nomake tests -opensource -confirm-license ^
    -opengl es2 -I "C:\Program Files\OpenSSL-Win64\include" -L "C:\Program Files\OpenSSL-Win64\lib"

    Any help is deeply appreciated.

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

      Hi and welcome to devnet,

      Sorry, I don't know why it is failing however, unless you actually need the QtWebEngine module, just don't build it.

      It is a time and space consuming module to build especially if you don't use it.

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

      N 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Sorry, I don't know why it is failing however, unless you actually need the QtWebEngine module, just don't build it.

        It is a time and space consuming module to build especially if you don't use it.

        N Offline
        N Offline
        N Saidharshana
        wrote on last edited by
        #3

        @SGaist
        Hi, Thanks for your message. Unfortunately, I need to build QtWebEngine and the source package which I have taken is from this location https://download.qt.io/archive/qt/5.15/5.15.2/single/.
        If you have any batch file which is available for configuring and building Qt 5.15.2 , please do share, I can give a try

        1 Reply Last reply
        0
        • N Offline
          N Offline
          N Saidharshana
          wrote on last edited by
          #4

          Hi, Is there any update here? This is actually a blocker for me. Please consider this as a priority. Thanks

          JonBJ 1 Reply Last reply
          0
          • N N Saidharshana

            Hi, Is there any update here? This is actually a blocker for me. Please consider this as a priority. Thanks

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @N-Saidharshana said in Building from Source Qt 5.15.2 fails:

            Please consider this as a priority.

            This a voluntary user forum.

            I don't doubt that this may be a QtWebEngine issue, but actually I do not see what the error is in the output pasted. We see ninja: build stopped: subcommand failed. But we do not actually see what caused that and what the error message was?

            1 Reply Last reply
            1
            • N Offline
              N Offline
              N Saidharshana
              wrote on last edited by
              #6

              Hi , Thanks for your response. Is it possible for you to have a small sync up to discuss about the issue.
              FYI: I am working in IST time zone

              JonBJ 1 Reply Last reply
              0
              • N N Saidharshana

                Hi , Thanks for your response. Is it possible for you to have a small sync up to discuss about the issue.
                FYI: I am working in IST time zone

                JonBJ Offline
                JonBJ Offline
                JonB
                wrote on last edited by
                #7

                @N-Saidharshana
                Did you see where I wrote

                This a voluntary user forum.

                above? Experts here are not going to "sync up" with you. If you want paid support contact The Qt Company.

                JKSHJ 1 Reply Last reply
                0
                • JonBJ JonB

                  @N-Saidharshana
                  Did you see where I wrote

                  This a voluntary user forum.

                  above? Experts here are not going to "sync up" with you. If you want paid support contact The Qt Company.

                  JKSHJ Offline
                  JKSHJ Offline
                  JKSH
                  Moderators
                  wrote on last edited by
                  #8

                  @JonB said in Building from Source Qt 5.15.2 fails:

                  If you want paid support contact The Qt Company.

                  To clarify @JonB's point, see https://www.qt.io/qt-support/

                  Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                  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