Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
6.2.0
-
-
75eb08711ef7a51305b4daad411548a2b6b4f8c6 (qt/qtbase/dev) 67a9a9fb67 (qt/qtbase/6.2) 67a9a9fb67 (qt/tqtc-qtbase/6.2)
Description
Building some examples with static Qt 6.2.0 seems to result in a bunch of warnings from the linker.
Qt configuration:
-debug-and-release -static -force-debug-info -nomake examples -nomake tests -confirm-license -opengl desktop -cmake-generator "Ninja Multi-Config" -platform win32-msvc -skip qtwebengine -skip qttools -skip qtdoc -skip qttranslations -skip qt3d -skip qtopcua -skip qtactiveqt -skip qtquick3d -skip qtscxml -skip qtserialbus -skip qtlocation -skip qtdatavis3d -prefix C:\qt\6.2.0_static
and the build log for the example widgets\widgets\analogclock\
C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build>C:\qt\6.2.0_static\bin\qmake.exe .. Info: creating stash file C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\.qmake.stash C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build>nmake debug Microsoft (R) Program Maintenance Utility Version 14.29.30136.0 Copyright (C) Microsoft Corporation. All rights reserved. "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe" -f Makefile.Debug Microsoft (R) Program Maintenance Utility Version 14.29.30136.0 Copyright (C) Microsoft Corporation. All rights reserved. cl -BxC:\qt\6.2.0_static\bin\qmake.exe -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zc:externConstexpr -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -E C:\Qt\6.2.0_static\mkspecs\features\data\dummy.cpp 2>NUL >debug\moc_predefs.h C:\Qt\6.2.0_static\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --compiler-flavor=msvc --include C:/Qt/Examples/Qt-6.2.0/widgets/widgets/analogclock/build/debug/moc_predefs.h -IC:/Qt/6.2.0_static/mkspecs/win32-msvc -IC:/Qt/Examples/Qt-6.2.0/widgets/widgets/analogclock -IC:/Qt/6.2.0_static/include -IC:/Qt/6.2.0_static/include/QtWidgets -IC:/Qt/6.2.0_static/include/QtGui -IC:/Qt/6.2.0_static/include/QtCore -I. -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\ATLMFC\include" -I"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include" -I"C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\ucrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\shared" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\um" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\winrt" -I"C:\Program Files (x86)\Windows Kits\10\include\10.0.20348.0\cppwinrt" ..\analogclock.h -o debug\moc_analogclock.cpp cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zc:externConstexpr -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\analogclock.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\..\analogclock -I. -IC:\Qt\6.2.0_static\include -IC:\Qt\6.2.0_static\include\QtWidgets -IC:\Qt\6.2.0_static\include\QtGui -IC:\Qt\6.2.0_static\include\QtCore -Idebug -IC:\Qt\6.2.0_static\mkspecs\win32-msvc -Fodebug\ @C:\Users\mipernu\AppData\Local\Temp\nmB91E.tmp analogclock.cpp main.cpp Generating Code... cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zc:externConstexpr -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\analogclock.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\..\analogclock -I. -IC:\Qt\6.2.0_static\include -IC:\Qt\6.2.0_static\include\QtWidgets -IC:\Qt\6.2.0_static\include\QtGui -IC:\Qt\6.2.0_static\include\QtCore -Idebug -IC:\Qt\6.2.0_static\mkspecs\win32-msvc -Fodebug\ @C:\Users\mipernu\AppData\Local\Temp\nmE5EC.tmp analogclock_plugin_import.cpp cl -c -nologo -Zc:wchar_t -FS -Zc:rvalueCast -Zc:inline -Zc:strictStrings -Zc:throwingNew -permissive- -Zc:__cplusplus -Zc:externConstexpr -Zi -MDd -std:c++17 -utf-8 -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -wd4467 -EHsc /Fddebug\analogclock.vc.pdb -DUNICODE -D_UNICODE -DWIN32 -D_ENABLE_EXTENDED_ALIGNED_STORAGE -DWIN64 -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I..\..\analogclock -I. -IC:\Qt\6.2.0_static\include -IC:\Qt\6.2.0_static\include\QtWidgets -IC:\Qt\6.2.0_static\include\QtGui -IC:\Qt\6.2.0_static\include\QtCore -Idebug -IC:\Qt\6.2.0_static\mkspecs\win32-msvc -Fodebug\ @C:\Users\mipernu\AppData\Local\Temp\nmFAFC.tmp moc_analogclock.cpp link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:debug\analogclock.exe @C:\Users\mipernu\AppData\Local\Temp\nm11F0.tmp qrc_openglblacklists.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_openglblacklists.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info qrc_cursors.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_cursors.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info qrc_qstyle.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_qstyle.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info qrc_qstyle1.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_qstyle1.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info qrc_qmessagebox.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_qmessagebox.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info qrc_qpdf.cpp.obj : warning LNK4099: PDB 'vc140.pdb' was not found with 'qrc_qpdf.cpp.obj' or at 'C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build\debug\vc140.pdb'; linking object as if no debug info C:\Qt\Examples\Qt-6.2.0\widgets\widgets\analogclock\build>
The same warnings appear also at least with widgets\widgets\calculator example as well.
The warnings seem to pop up only when the build directory of the static Qt version has been renamed or removed. If the original build directory is still in place there are no warnings.