When trying to build qt3d examples with qmake and MinGW in the CI, compilation would fail with errors like In file included from C:/MINGW1120/mingw64/x86_64-w64-mingw32/include/windows.h:72, from C:\Users\qt\work\qt\qt3d\examples\qt3d\simple-cpp\main.cpp:63 include/winuser.h:2965:72: error: 'POINTER_INPUT_TYPE' was not declared in this scope What happens is that calling qmake on examples.pro loads qt3d/.qmake.conf, which then loads qt_build_config.prf which then defines the following definitions: mingw: DEFINES += WINVER=0x0601 _WIN32_WINNT=0x0601 This limits usage of Windows API up to Windows 7, with later APIs being unavailable. Most .qmake.conf files were removed in qt repos, but We didn't remove the .qmake.conf file ( |
||
|---|---|---|
| .. | ||
| aix-g++ | ||
| aix-g++-64 | ||
| android-clang | ||
| common | ||
| cygwin-g++ | ||
| darwin-g++ | ||
| devices | ||
| dummy | ||
| features | ||
| freebsd-clang | ||
| freebsd-g++ | ||
| haiku-g++ | ||
| hpuxi-g++-64 | ||
| hurd-g++ | ||
| integrity-armv7 | ||
| integrity-armv7-imx6 | ||
| integrity-armv8-rcar | ||
| integrity-x86 | ||
| linux-aarch64-gnu-g++ | ||
| linux-arm-gnueabi-g++ | ||
| linux-clang | ||
| linux-clang-32 | ||
| linux-clang-libc++ | ||
| linux-clang-libc++-32 | ||
| linux-g++ | ||
| linux-g++-32 | ||
| linux-g++-64 | ||
| linux-icc | ||
| linux-icc-32 | ||
| linux-icc-64 | ||
| linux-icc-k1om | ||
| linux-llvm | ||
| linux-lsb-g++ | ||
| lynxos-g++ | ||
| macx-clang | ||
| macx-g++ | ||
| macx-icc | ||
| macx-ios-clang | ||
| macx-tvos-clang | ||
| macx-watchos-clang | ||
| macx-xcode | ||
| modules | ||
| netbsd-g++ | ||
| openbsd-g++ | ||
| qnx-aarch64le-qcc | ||
| qnx-armle-v7-qcc | ||
| qnx-x86-64-qcc | ||
| qnx-x86-qcc | ||
| solaris-cc | ||
| solaris-cc-64 | ||
| solaris-cc-64-stlport | ||
| solaris-cc-stlport | ||
| solaris-g++ | ||
| solaris-g++-64 | ||
| unsupported | ||
| wasm-emscripten | ||
| win32-arm64-msvc | ||
| win32-clang-g++ | ||
| win32-clang-msvc | ||
| win32-g++ | ||
| win32-icc | ||
| win32-icc-k1om | ||
| win32-msvc | ||