Changed: Link to Qt5WinExtras under Windows
This commit is contained in:
parent
98041d381a
commit
913102bc7c
1 changed files with 8 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue