Changed: Only link to Qt5::WinExtras if required
--HG-- branch : develop
This commit is contained in:
parent
eb263cd4e4
commit
0f727e7714
1 changed files with 0 additions and 8 deletions
|
@ -265,10 +265,6 @@ 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)
|
||||
|
@ -386,10 +382,6 @@ IF(WITH_QT5)
|
|||
ENDIF()
|
||||
ELSE()
|
||||
SET(QT_LIBRARIES Qt5::Widgets Qt5::Network Qt5::Xml Qt5::Gui Qt5::OpenGL Qt5::Core)
|
||||
|
||||
IF(WIN32)
|
||||
SET(QT_LIBRARIES ${QT_LIBRARIES} Qt5::WinExtras)
|
||||
ENDIF()
|
||||
ENDIF()
|
||||
ELSE()
|
||||
MESSAGE(WARNING "Unable to find Qt 5")
|
||||
|
|
Loading…
Reference in a new issue