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. Compilation error in Qt MSVC 2019 64Bit environment
Forum Updated to NodeBB v4.3 + New Features

Compilation error in Qt MSVC 2019 64Bit environment

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 4 Posters 2.4k 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.
  • N Offline
    N Offline
    Nan Feng
    wrote on last edited by
    #5

    My computer is windows 64, ""I just want to compile the 64-bit Qt static library"". As for the reason for the error just now, the following is my operation. I searched on the Internet and said that I want to compile 64-bit MSVC and use x64 Native Tools Command Prompt for VS 2019 This, then switch to the source directory and enter the command in the reply to compile it. So how should I compile the 64-bit MSVC 2019 Qt static library? Please give pointers

    JonBJ 1 Reply Last reply
    0
    • N Nan Feng

      My computer is windows 64, ""I just want to compile the 64-bit Qt static library"". As for the reason for the error just now, the following is my operation. I searched on the Internet and said that I want to compile 64-bit MSVC and use x64 Native Tools Command Prompt for VS 2019 This, then switch to the source directory and enter the command in the reply to compile it. So how should I compile the 64-bit MSVC 2019 Qt static library? Please give pointers

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

      @Nan-Feng
      I'm afraid I don't know the exact answers, maybe someone else will tell you. But if you want to do 64-bit only, I assume do not do your current:

      so I downloaded the source code to compile, compiled in MSVC 2019 32 Bit

      -platform win32-msvc

      1 Reply Last reply
      1
      • N Offline
        N Offline
        Nan Feng
        wrote on last edited by
        #7

        In addition, I used two different compilation commands, the difference is not very big, but the compiled things are very different, one is that the .pdb file is generated for each file while generating the .exe in the bin directory, the other There is only one .pdb file in the bin directory compiled by the command. . . . What does the .pdb file do? Will it affect me if I delete him?
        The two compilation commands are as follows:
        configure.bat -static -prefix "D:\Environment\QtStaticLib\MSVC-2019-32Bit" -confirm-license -opensource -debug-and-release -platform win32-msvc -nomake examples -nomake tests -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -mp


        The following command generates a .exe in the bin directory with a .pdb with the same name
        configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -opengl dynamic -prefix "D:\Environment\QtStaticLib\MSVC-2019-32Bit"- qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -nomake tests -no-compile-examples -nomake examples

        jsulmJ 1 Reply Last reply
        0
        • N Nan Feng

          In addition, I used two different compilation commands, the difference is not very big, but the compiled things are very different, one is that the .pdb file is generated for each file while generating the .exe in the bin directory, the other There is only one .pdb file in the bin directory compiled by the command. . . . What does the .pdb file do? Will it affect me if I delete him?
          The two compilation commands are as follows:
          configure.bat -static -prefix "D:\Environment\QtStaticLib\MSVC-2019-32Bit" -confirm-license -opensource -debug-and-release -platform win32-msvc -nomake examples -nomake tests -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -mp


          The following command generates a .exe in the bin directory with a .pdb with the same name
          configure -confirm-license -opensource -platform win32-msvc -debug-and-release -static -static-runtime -force-debug-info -opengl dynamic -prefix "D:\Environment\QtStaticLib\MSVC-2019-32Bit"- qt-sqlite -qt-pcre -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -nomake tests -no-compile-examples -nomake examples

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #8

          @Nan-Feng said in Compilation error in Qt MSVC 2019 64Bit environment:

          What does the .pdb file do?

          It contains debug information and is only needed if you want to debug that stuff.
          Your actual issue seems to be that you are mixing 32bit and 64bit binaries as @JonB said and this can't work.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • N Offline
            N Offline
            Nan Feng
            wrote on last edited by
            #9

            Then I just want to compile 64 Bit MSVC 2019, how should I do it?
            By the way, when Qt Creator uses the compiled static library, it will prompt that qmlscene is not installed. What is the situation? So I copied the file in the dynamic library to the path of the static library, and no longer prompted. Will this have any bad effects?

            1 Reply Last reply
            0
            • kkoehneK Offline
              kkoehneK Offline
              kkoehne
              Moderators
              wrote on last edited by
              #10

              @Nan-Feng said in Compilation error in Qt MSVC 2019 64Bit environment:

              Then I just want to compile 64 Bit MSVC 2019, how should I do it?

              Your Qt build picks up clang in D:\Environment\LLVM\lib\libclang , which is not compatible with the compiler you've choosen. So unless you need to build documentation via qdoc, just avoid this dependency. You most likely have set LLVM_INSTALL_DIR environment variable to point to the LLVM in D:\Environment\LLVM? Just unset it.

              By the way, when Qt Creator uses the compiled static library, it will prompt that qmlscene is not installed. What is the situation? So I copied the file in the dynamic library to the path of the static library, and no longer prompted. Will this have any bad effects?

              qmlscene is a small tool to preview .qml files without any C++ entry point (main.cpp). If you don't know it, you probably don't need it :)

              Director R&D, The Qt Company

              N 1 Reply Last reply
              3
              • kkoehneK kkoehne

                @Nan-Feng said in Compilation error in Qt MSVC 2019 64Bit environment:

                Then I just want to compile 64 Bit MSVC 2019, how should I do it?

                Your Qt build picks up clang in D:\Environment\LLVM\lib\libclang , which is not compatible with the compiler you've choosen. So unless you need to build documentation via qdoc, just avoid this dependency. You most likely have set LLVM_INSTALL_DIR environment variable to point to the LLVM in D:\Environment\LLVM? Just unset it.

                By the way, when Qt Creator uses the compiled static library, it will prompt that qmlscene is not installed. What is the situation? So I copied the file in the dynamic library to the path of the static library, and no longer prompted. Will this have any bad effects?

                qmlscene is a small tool to preview .qml files without any C++ entry point (main.cpp). If you don't know it, you probably don't need it :)

                N Offline
                N Offline
                Nan Feng
                wrote on last edited by
                #11

                @kkoehne
                Hello, I canceled the environment variables of LLVM, and re-extracted the source code and compiled it, but some errors occurred in the compilation.
                The error message is as follows:

                [3061/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/tls.cpp /Foobj/third_party/angle/angle_common/tls.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                [3062/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/image_util/copyimage.cpp /Foobj/third_party/angle/angle_image_util/copyimage.obj /Fd"obj/third_party/angle/angle_image_util_cc.pdb"
                [3063/29741] cmd /c type nul > "obj/services/shape_detection/public/mojom/mojom__generate_message_ids.stamp"
                [3064/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp /Foobj/third_party/angle/angle_common/mathutil.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                FAILED: obj/third_party/angle/angle_common/mathutil.obj
                ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp /Foobj/third_party/angle/angle_common/mathutil.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(75): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(77): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(79): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                [3065/29741] cmd /c type nul > "obj/services/shape_detection/public/mojom/mojom__verify_deps.stamp"
                [3066/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/event_tracer.cpp /Foobj/third_party/angle/angle_common/event_tracer.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                [3067/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/uniform_type_info_autogen.cpp /Foobj/third_party/angle/angle_common/uniform_type_info_autogen.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                [3068/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_DEBUG_ANNOTATIONS -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/common/utilities.cpp /Foobj/third_party/angle/angle_common/utilities.obj /Fd"obj/third_party/angle/angle_common_cc.pdb"
                [3069/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/image_util/loadimage_etc.cpp /Foobj/third_party/angle/angle_image_util/loadimage_etc.obj /Fd"obj/third_party/angle/angle_image_util_cc.pdb"
                [3070/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/image_util/imageformats.cpp /Foobj/third_party/angle/angle_image_util/imageformats.obj /Fd"obj/third_party/angle/angle_image_util_cc.pdb"
                [3071/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/image_util/loadimage.cpp /Foobj/third_party/angle/angle_image_util/loadimage.obj /Fd"obj/third_party/angle/angle_image_util_cc.pdb"
                [3072/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_D3D11 -DANGLE_ENABLE_OPENGL -DANGLE_ENABLE_OPENGL_NULL -DANGLE_ENABLE_NULL -DANGLE_ENABLE_VULKAN -DANGLE_USE_CUSTOM_VULKAN_CMD_BUFFERS=1 -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo.cpp /Foobj/third_party/angle/angle_gpu_info_util/SystemInfo.obj /Fd"obj/third_party/angle/angle_gpu_info_util_cc.pdb"
                [3073/29741] ninja -t msvc -e environment.x64 -- "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64/cl.exe" /nologo /showIncludes -DUSE_AURA=1 -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 -D_DEBUG -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DANGLE_IS_64_BIT_CPU -DANGLE_ENABLE_D3D9 -DANGLE_ENABLE_D3D11 -DANGLE_ENABLE_OPENGL -DANGLE_ENABLE_OPENGL_NULL -DANGLE_ENABLE_NULL -DANGLE_ENABLE_VULKAN -DANGLE_USE_CUSTOM_VULKAN_CMD_BUFFERS=1 -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/include -I../../3rdparty/chromium/third_party/angle/src -I../../3rdparty/chromium/third_party/angle/src/common/third_party/base -Igen/angle -I../../3rdparty/chromium/third_party/angle/include /Gy /FS /bigobj /utf-8 /Zc:sizedDealloc- /wd4117 /D__DATE__= /D__TIME__= /D__TIMESTAMP__= /W4 /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 /Od /Ob0 /GF /Zi /MDd /we4244 /we4456 /we4458 /we4715 /we4800 /we4838 /TP /wd4577 /GR- /c ../../3rdparty/chromium/third_party/angle/src/gpu_info_util/SystemInfo_win.cpp /Foobj/third_party/angle/angle_gpu_info_util/SystemInfo_win.obj /Fd"obj/third_party/angle/angle_gpu_info_util_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\Enterprise\VC\Tools\MSVC\14.28.29333\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.

                E:\QtSourceCode\5.15.2\MSVC-2019-64Bit>

                1 Reply Last reply
                0
                • kkoehneK Offline
                  kkoehneK Offline
                  kkoehne
                  Moderators
                  wrote on last edited by
                  #12
                  ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(75): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                  ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(77): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                  ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(79): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                  

                  See QTBUG-88625 for your the error and fixes in the comment.

                  Anyhow, do you really need Qt WebEngine in the first place? If not, you can also skip this module by passing -skip qtwebengine to configure.

                  Director R&D, The Qt Company

                  N 1 Reply Last reply
                  3
                  • kkoehneK kkoehne
                    ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(75): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                    ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(77): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                    ../../3rdparty/chromium/third_party/angle/src/common/mathutil.cpp(79): error C4244: '=': conversion from 'double' to 'float', possible loss of data
                    

                    See QTBUG-88625 for your the error and fixes in the comment.

                    Anyhow, do you really need Qt WebEngine in the first place? If not, you can also skip this module by passing -skip qtwebengine to configure.

                    N Offline
                    N Offline
                    Nan Feng
                    wrote on last edited by
                    #13

                    @kkoehne
                    I have modified the corresponding file and compiled it according to the link, but I encountered an error again.

                    The error message is as follows:

                    moc_qwebengineurlrequestjob.cpp
                    moc_qwebengineurlscheme.cpp
                    moc_qwebengineurlschemehandler.cpp
                    lib /NOLOGO /OUT:release\qtwebenginecoreapi.lib @C:\Users\Galaxy\AppData\Local\Temp\nmBCE4.tmp
                    if exist release\qtwebenginecoreapi.lib.objects del release\qtwebenginecoreapi.lib.objects
                    for %a in (.obj\release\qtwebenginecoreglobal.obj .obj\release\qwebengineclientcertificatestore.obj .obj\release\qwebenginecookiestore.obj .obj\release\qwebenginefindtextresult.obj .obj\release\qwebenginehttprequest.obj .obj\release\qwebenginemessagepumpscheduler.obj .obj\release\qwebenginenotification.obj .obj\release\qwebenginequotarequest.obj .obj\release\qwebengineregisterprotocolhandlerrequest.obj .obj\release\qwebengineurlrequestinfo.obj .obj\release\qwebengineurlrequestjob.obj .obj\release\qwebengineurlscheme.obj .obj\release\qwebengineurlschemehandler.obj .obj\release\moc_qwebenginecookiestore.obj .obj\release\moc_qwebenginemessagepumpscheduler_p.obj .obj\release\moc_qwebenginequotarequest.obj .obj\release\moc_qwebengineregisterprotocolhandlerrequest.obj .obj\release\moc_qwebengineurlrequestinterceptor.obj .obj\release\moc_qwebengineurlrequestjob.obj .obj\release\moc_qwebengineurlscheme.obj .obj\release\moc_qwebengineurlschemehandler.obj) do echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api%a >> release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qtwebenginecoreglobal.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineclientcertificatestore.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginecookiestore.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginefindtextresult.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginehttprequest.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginemessagepumpscheduler.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginenotification.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebenginequotarequest.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineregisterprotocolhandlerrequest.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineurlrequestinfo.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineurlrequestjob.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineurlscheme.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\qwebengineurlschemehandler.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebenginecookiestore.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebenginemessagepumpscheduler_p.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebenginequotarequest.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebengineregisterprotocolhandlerrequest.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebengineurlrequestinterceptor.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebengineurlrequestjob.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebengineurlscheme.obj 1>>release\qtwebenginecoreapi.lib.objects

                    H:\MSVC-2019-64Bit\qtwebengine\src\core\api>echo H:\MSVC-2019-64Bit\qtwebengine\src\core\api.obj\release\moc_qwebengineurlschemehandler.obj 1>>release\qtwebenginecoreapi.lib.objects
                    ( if not exist Makefile.core_module H:\MSVC-2019-64Bit\qtbase\bin\qmake.exe -o Makefile.core_module H:\MSVC-2019-64Bit\qtwebengine\src\core\core_module.pro ) && "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\nmake.exe" -f Makefile.core_module
                    Project ERROR: Missing archive files from linking pri
                    NMAKE : fatal error U1077: '(' : return code '0x3'
                    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.

                    H:\MSVC-2019-64Bit>

                    1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @Nan-Feng Please post FIRST errors as text, not screen shot. And please translate the error messages into English.

                      N Offline
                      N Offline
                      Nan Feng
                      wrote on last edited by
                      #14

                      @jsulm
                      What is the difference between the three options compilation in QtCreator? I don't quite understand.
                      -release means that debug mode cannot be used in QtCreator?
                      -debug means that the release mode cannot be used in QtCreator?

                      -release
                      -debug
                      -debug-and-release

                      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