Declare all used Qt module public dependencies

This commit is contained in:
Martchus 2016-11-10 23:40:03 +01:00
parent e1a8a12670
commit 6d623989a8
2 changed files with 1 additions and 2 deletions

View File

@ -140,6 +140,7 @@ use_cpp_utilities()
# include modules to apply configuration
include(BasicConfig)
include(QtGuiConfig)
set(META_PUBLIC_QT_MODULES Core ${ADDITIONAL_QT_MODULES})
include(QtConfig)
include(WindowsResources)
include(LibraryTarget)

View File

@ -34,8 +34,6 @@ else()
endif()
if(WIDGETS_GUI OR QUICK_GUI)
list(APPEND QT_MODULES Gui)
# set "GUI-type" to WIN32 to hide console under windows
if(WIN32)
set(GUI_TYPE WIN32)