Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.0.0
-
-
7ec0786d78c7420244d488553d7d10eee4fe60b2 (qt/qtbase/dev) 5b136abd21803988f96b9b66c992822efbef97ec (qt/tqtc-qtbase/dev)
Description
With the above mentioned Software Configuration, I keep running into the Error "ITERATOR_DEBUG_LEVEL mismatch" and hundreds of connected errors with multiple Clang and LLVM Files.
At the end, the VS Linker (Link.exe) says:
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
qtbase\bin\lupdate.exe : fatal error LNK1319: 1044 mismatches detected
This also happens when I do a build with all Tools being x86_64 and Host and Target are x86_64 - so it is not a bitness Issue.
Obviously no Issue with pure Release builds.
Build Script (CMD, VS CMD Prompt) (WIP once again thanks to that Issue):
@echo off title BUILD QT-X86 DEV DEBUG AND RELEASE DYNAMIC MSVC :START set CL=/MP%NUMBER_OF_PROCESSORS% /cgthreads8 /utf-8 /nologo set LINK=/CGTHREADS:%NUMBER_OF_PROCESSORS% set LLVM_INSTALL_DIR=%SystemDrive%\Dev\LLVMx86\ set PATH=%PATH%;%SystemDrive%\Dev\CMake\bin\;%SystemDrive%\Dev\Ninja\;%SystemDrive%\Dev\Perlx86\perl\bin\;%SystemDrive%\Dev\Pythonx86\;%SystemDrive%\Dev\LLVMx86\bin\;%SystemDrive%\Git\bin\ cd %SystemDrive%\Dev\QtSrcx86DMSVC\ && ^ cmake %SystemDrive%\Dev\QtSDev\qt5\ --debug-output --debug-find --log-level=DEBUG -G"Ninja" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_INSTALL_PREFIX=%SystemDrive%\Dev\Qtx86DevDebugMSVC\ -DBUILD_WITH_PCH=OFF -DBUILD_qt3d=OFF -DBUILD_qtandroidextras=OFF -DBUILD_qtquick3d=OFF -DBUILD_qtquicktimeline=OFF -DBUILD_qtshadertools=OFF -DBUILD_qtvirtualkeyboard=OFF -DBUILD_qtwayland=OFF -DFEATURE_debug_and_release=OFF -DFEATURE_dynamicgl=ON -DFEATURE_icu=OFF -DFEATURE_opengl_dynamic=ON -DFEATURE_openssl=OFF -DFEATURE_openssl_linked=OFF && ^ ninja -v -j%NUMBER_OF_PROCESSORS% 1>C:\Dev\qt6_cmake_debug_lupdate_error_%DATE:/=-%.log 2>&1
See attached Log File for more Details about this Issue (as soon Jira starts working again...)
Attachments
Issue Links
- relates to
-
QTBUG-87215 Ship qdoc in 6.0 binaries
- Closed
-
QTBUG-88039 cmake: Could NOT find WrapLibClang for multiple configurations
- Closed
For Gerrit Dashboard: QTBUG-85411 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
309309,4 | CMake: Don't build debug tools by default in debug_and_release builds | dev | qt/qtbase | Status: MERGED | +2 | 0 |
310194,4 | CMake: Do not built qdoc/lupdate for MSVC NMC with CMake < 3.19 | dev | qt/qttools | Status: MERGED | -1 | 0 |
320386,9 | CMake: Update provisioned CMake to version 3.19.0-rc2 | dev | qt/qt5 | Status: MERGED | +2 | 0 |
320777,3 | CMake: Fix installation errors in multi-config build | dev | qt/qtbase | Status: MERGED | +2 | 0 |