diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp index 6fa0d48169c..cd7b8f367ab 100644 --- a/src/plugins/cpptools/cppmodelmanager_test.cpp +++ b/src/plugins/cpptools/cppmodelmanager_test.cpp @@ -35,11 +35,18 @@ #include #include #include +#include #include #include #include +#if QT_VERSION >= 0x050000 +#define MSKIP_SINGLE(x) QSKIP(x) +#else +#define MSKIP_SINGLE(x) QSKIP(x, SkipSingle) +#endif + using namespace CppTools::Internal; typedef CPlusPlus::Document Document; @@ -260,6 +267,9 @@ void CppToolsPlugin::test_modelmanager_paths_are_clean() /// Check: Frameworks headers are resolved. void CppToolsPlugin::test_modelmanager_framework_headers() { + if (Utils::HostOsInfo::isWindowsHost()) + MSKIP_SINGLE("Can't resolve framework soft links on Windows."); + ModelManagerTestHelper helper; CppModelManager *mm = CppModelManager::instance();