Compilation error in Qt MSVC 2019 64Bit environment
-
Hi, dear Qt development team, I want to use the Qt static library to compile, so I downloaded the source code to compile, compiled in MSVC 2019 32 Bit, everything is normal, and got the compiled static library, but it is compiled with MSVC 2019 64 Bit I encountered some errors and warnings. May I ask what caused the problem? How should I solve it?
Please refer to the screenshot for error details. Looking forward to your reply.! -
Hi, dear Qt development team, I want to use the Qt static library to compile, so I downloaded the source code to compile, compiled in MSVC 2019 32 Bit, everything is normal, and got the compiled static library, but it is compiled with MSVC 2019 64 Bit I encountered some errors and warnings. May I ask what caused the problem? How should I solve it?
Please refer to the screenshot for error details. Looking forward to your reply.! -
To add, the x64 Native Tools Command Prompt for VS 2019 command used is: configure.bat -static -prefix "D:\Environment\QtStaticLib\MSVC-2019-64Bit" -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
Error and warning:
Clamecodergser. Obj: Error LNK2019: Wúfǎ jiěxī de wàibù fúhào_ imp. Clang. DisposeTokens, hánshù public: Virtual void_ cdecl ClangCodeP arser: :ParseSourceFile(class Location const class QString const&)* (?Par seSour ceF ile@Cl angCodeP ar serUEAXAEBVTLocatiornQOEBVQString000Z) zhōng D: Environment\LLVM\lib\libclang. Lib: Warning“x868” LNK42723: Kù jìsuànjī lèixíng “x86” yǔ mùbiāo jìsuànjī lèixíng “x64” chōngtú IAXE tatel erxox u107: “"C:LProgran Files (BMILEzosoT Vasual Suio19UetresieToloU1s.28.233O10io\x64tlink. EX zhèng””: Fǎnhuí dàimǎ “0x460” HIAKE: Fatal eIror u1077: “C:\Progran Files (x86)\licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333BinHos tx64\x64Ammake. Exe" : Fǎnhuí dàimǎ “0x2” HIAKE: Fatal eIror u1077: “C:\Progran Files (x86)\licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333BinHos tx64\x64Ammake. Exe" : Fǎnhuí dàimǎ “0x2”
展开
802 / 5000
翻译结果
clamecodergser. obj: error LNK2019: Unresolved external symbol _ imp. clang. disposeTokens, function public: virtual void_ cdecl ClangCodeP arser: :parseSourceFile(class Location const class QString const &) * (?par seSour ceF ile@Cl angCodeP ar serUEAXAEBVTLocatiornQOEBVQString000Z)D: Environment \LLVM\lib\libclang. lib: warning "x868" LNK42723: Library computer type "x86" conflicts with target computer type "x64"
IAXE tatel erxox u107: ""C:lProgran Files (BMILEzosoT Vasual Suio19UetresieToloU1s.28.233o10io\x64tlink. EX certificate"": Return code "0x460"
HIAKE: fatal eIror u1077: "C:\Progran Files (x86) \licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333binHos tx64\x64Ammake. exe": Return code "0x2"
HIAKE: fatal eIror u1077: "C:\Progran Files (x86) \licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333binHos tx64\x64Ammake. exe": Return code "0x2"
-
To add, the x64 Native Tools Command Prompt for VS 2019 command used is: configure.bat -static -prefix "D:\Environment\QtStaticLib\MSVC-2019-64Bit" -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
Error and warning:
Clamecodergser. Obj: Error LNK2019: Wúfǎ jiěxī de wàibù fúhào_ imp. Clang. DisposeTokens, hánshù public: Virtual void_ cdecl ClangCodeP arser: :ParseSourceFile(class Location const class QString const&)* (?Par seSour ceF ile@Cl angCodeP ar serUEAXAEBVTLocatiornQOEBVQString000Z) zhōng D: Environment\LLVM\lib\libclang. Lib: Warning“x868” LNK42723: Kù jìsuànjī lèixíng “x86” yǔ mùbiāo jìsuànjī lèixíng “x64” chōngtú IAXE tatel erxox u107: “"C:LProgran Files (BMILEzosoT Vasual Suio19UetresieToloU1s.28.233O10io\x64tlink. EX zhèng””: Fǎnhuí dàimǎ “0x460” HIAKE: Fatal eIror u1077: “C:\Progran Files (x86)\licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333BinHos tx64\x64Ammake. Exe" : Fǎnhuí dàimǎ “0x2” HIAKE: Fatal eIror u1077: “C:\Progran Files (x86)\licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333BinHos tx64\x64Ammake. Exe" : Fǎnhuí dàimǎ “0x2”
展开
802 / 5000
翻译结果
clamecodergser. obj: error LNK2019: Unresolved external symbol _ imp. clang. disposeTokens, function public: virtual void_ cdecl ClangCodeP arser: :parseSourceFile(class Location const class QString const &) * (?par seSour ceF ile@Cl angCodeP ar serUEAXAEBVTLocatiornQOEBVQString000Z)D: Environment \LLVM\lib\libclang. lib: warning "x868" LNK42723: Library computer type "x86" conflicts with target computer type "x64"
IAXE tatel erxox u107: ""C:lProgran Files (BMILEzosoT Vasual Suio19UetresieToloU1s.28.233o10io\x64tlink. EX certificate"": Return code "0x460"
HIAKE: fatal eIror u1077: "C:\Progran Files (x86) \licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333binHos tx64\x64Ammake. exe": Return code "0x2"
HIAKE: fatal eIror u1077: "C:\Progran Files (x86) \licrosoft Visual Studio\2019\EnterpriselWCtToolsVISVC\14. 28 9333binHos tx64\x64Ammake. exe": Return code "0x2"
@Nan-Feng said in Compilation error in Qt MSVC 2019 64Bit environment:
D: Environment \LLVM\lib\libclang. lib: warning "x868" LNK42723: Library computer type "x86" conflicts with target computer type "x64"
I don't understand how you are expecting to compile/work if you are mixing 32- & 64-bit libraries? Use only one or the other.
-
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
-
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
-
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 -
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@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. -
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? -
@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 viaqdoc
, just avoid this dependency. You most likely have setLLVM_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 :) -
@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 viaqdoc
, just avoid this dependency. You most likely have setLLVM_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 :)@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>
-
../../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. -
../../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.@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.objectsH:\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>
-
@Nan-Feng Please post FIRST errors as text, not screen shot. And please translate the error messages into English.
@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