Details
-
Bug
-
Resolution: Fixed
-
P0: Blocker
-
3.3.0
-
None
-
-
c51fdb382 (dev), 080c5a971 (dev)
Description
I'm testing version 3.3.0 and its not working properly, my project no lnger recognize the C++ version set, i have C++20 but i keep getting message:
1> C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.42.34321\include\ranges(11): warning STL4038: The contents of <ranges> are available only with C++20 or later.
I also getting an issue related to stdafx:
1> C:\Users\CAIO\source\repos\QtWidgetsApplication3\QtWidget.10F28BAB\x64\Debug\qt\moc\moc_qtwidgetsapplication3.cpp(9,10): error C1083: Cannot open include file: 'stdafx.h': No such file or directory
Why is it searching for stdafx on moc files?
Both issues only happen on 3.3.0
I created a simple new qt widgets project and just add #include <ranges>
Attachments
Issue Links
- is duplicated by
-
QTVSADDINBUG-1239 Version 3.3 does not work with our project and precompiled headers
- Closed
For Gerrit Dashboard: QTVSADDINBUG-1222 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
597210,2 | Fix issue with moc and precompiled headers | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |
597211,2 | Fix user-defined C++ version overwritten | dev | qt-labs/vstools | Status: MERGED | +2 | 0 |