Details
-
Bug
-
Resolution: Done
-
P2: Important
-
2.7.2 (rev.02)
-
None
-
Visual Studio 2019, Windows 11
-
-
0c9776a4d1 (qt-labs/vstools/dev)
Description
I just installed Qt 6.2.2 and attempted to build the cookiebrowser example (copied outside the QT source tree), using the VS extension in VS2019 to import the .pro file. This is the output:
Build started...
1>------ Build started: Project: cookiebrowser, Configuration: Debug x64 ------
1>Reading Qt configuration (C:/Qt/6.2.2/msvc2019_64/bin/qmake)
1>cookiebrowser.vcxproj : error : ERROR running qmake
1>cookiebrowser.vcxproj : error : qmake: (C:/Qt/6.2.2/msvc2019_64/bin/qmake)
1>cookiebrowser.vcxproj : error : qmake: $PWD=C:\Users\Noah\source\repos\cookiebrowser\debug\qmake\temp
1>cookiebrowser.vcxproj : error : qmake: Project ERROR: Unknown module(s) in QT: webengine
1>cookiebrowser.vcxproj : error : qmake: Error creating Makefile
1>cookiebrowser.vcxproj : error :
1>Done building project "cookiebrowser.vcxproj" – FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
The same error appears with the 2.8.0 preview in VS2022.
I assume this is to do with modules being renamed from Qt 5.
I will note this a popup appears with this text when importing the .pro file, though I suspect it is an unrelated defect:
---------------------------
Qt VS Tools
---------------------------
Warning:
qmake has generated a .vcproj file, but it needs to be converted.
To do this you must open the .vcproj file manually.
(Reason: qmake in Qt3 does not support generation of Visual Studio 2005 .vcproj files)
---------------------------
OK
---------------------------
Attachments
Issue Links
- relates to
-
QTVSADDINBUG-974 Add missing Qt6 modules to Qt module selection page
-
- Closed
-