Changed: Link to Qt5WinExtras under Windows

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-06 16:05:36 +01:00
parent 834fcbe8c8
commit 8756ba6ebc

View file

@ -238,6 +238,10 @@ IF(WITH_QT5)
FIND_PACKAGE(Qt5LinguistTools)
FIND_PACKAGE(Qt5Network)
IF(WIN32)
FIND_PACKAGE(Qt5WinExtras)
ENDIF()
IF(QT_STATIC)
ADD_DEFINITIONS(-DQT_STATICPLUGIN)
@ -246,6 +250,10 @@ IF(WITH_QT5)
# Gui
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::Gui Qt5::OpenGL)
IF(WIN32)
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::WinExtras)
ENDIF()
ADD_QT_LIBRARY(PrintSupport)
IF(WIN32)