From ae23dc32b3ec9180ce72c7e12160a5f2bfd726d7 Mon Sep 17 00:00:00 2001 From: kervala Date: Sat, 26 Dec 2015 15:12:29 +0100 Subject: [PATCH] Fixed: Forgot to link to PlatformSupport under other platforms --- code/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/CMakeLists.txt b/code/CMakeLists.txt index ff097e0a7..0fb80a76a 100644 --- a/code/CMakeLists.txt +++ b/code/CMakeLists.txt @@ -232,6 +232,7 @@ IF(WITH_QT5) ${WINSDK_LIBRARY_DIR}/OpenGL32.lib ${WINSDK_LIBRARY_DIR}/WinMM.Lib) ADD_QT_PLUGIN(platforms qwindows) + ADD_QT_LIBRARY(PlatformSupport) ELSEIF(APPLE) # Cups needs .dylib SET(OLD_CMAKE_FIND_LIBRARY_SUFFIXES ${CMAKE_FIND_LIBRARY_SUFFIXES}) @@ -253,7 +254,9 @@ IF(WITH_QT5) ADD_QT_PLUGIN(printsupport cocoaprintersupport) ADD_QT_PLUGIN(platforms qcocoa) + ADD_QT_LIBRARY(PlatformSupport) ELSE() + # order is very important there ADD_QT_PLUGIN(platforms qxcb) ADD_QT_PLUGIN(xcbglintegrations qxcb-glx-integration)