我目前在Qt5.9上使用这两个库,MinGW编译器一直报错,报很多error: undefined reference to `_imp___ZN11OpenThreads6AtomicppEv'。希望有个有经验的大哥指点我一下,应该用什么版本的Qt和编译器。目前使用msvc编译器一直警告没有调试器,即使我手动下载调试器,也不能自动识别,关键是Qt经常报错:
Running Windows Runtime device detection.
No winrtrunner.exe found.
C:/Qt/Qt5.9.0/5.9/mingw53_32/mkspecs/features/toolchain.prf(76): Variable QMAKE_DEFAULT_INCDIRS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32/mkspecs/features/toolchain.prf(129): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32/mkspecs/features/toolchain.prf(76): Variable QMAKE_DEFAULT_INCDIRS is not defined.
C:/Qt/Qt5.9.0/5.9/mingw53_32/mkspecs/features/toolchain.prf(129): Variable QMAKE_CXX.COMPILER_MACROS is not defined.
Project ERROR: msvc-version.conf loaded but QMAKE_MSC_VER isn't set
Error while parsing file F:\osgProject\osgEarth\osgEarth.pro. Giving up.