You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: If you use the fuzzy expressions such as 'can't use/no effect/problem/error', but don't give any relevant auxiliary information according to the template below, this issue will be not replied.
Describe the bug
用Qt6无法编译测试程序qt.console
Expected behavior
正常编译
Error output
...
error: main.cpp
C:\Qt\6.0.0\msvc2019_64\include\QtCore/qglobal.h(379): error C7525: inline variables require at least '/std:c++17'
...
Related Environment
Please provide compiling and running environment information:
xmake version: 2.3.9
os: Windows 10
target platform: windows
Additional context
Qt6使用C++17,因此必须要用C++17的flag编译,而自动生成的测试程序使用的是C++11
The text was updated successfully, but these errors were encountered:
Describe the bug
用Qt6无法编译测试程序qt.console
Expected behavior
正常编译
Error output
Related Environment
Please provide compiling and running environment information:
Additional context
Qt6使用C++17,因此必须要用C++17的flag编译,而自动生成的测试程序使用的是C++11
The text was updated successfully, but these errors were encountered: