Replace use of QT_QTGUI_LIBRARIES with Qt5::Widgets.

In a Qt5 world, Qt5::Widgets is what is really meant.
This commit is contained in:
Stephen Kelly 2013-01-25 14:54:16 +01:00
parent 01e95b0129
commit f3841c661d
2 changed files with 2 additions and 2 deletions

View File

@ -219,7 +219,7 @@ if(DL_LIBRARY)
target_link_libraries(plasma ${DL_LIBRARY})
endif(DL_LIBRARY)
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES kdeui kdecore kwindowsystem ${QT_QTGUI_LIBRARY})
target_link_libraries(plasma LINK_INTERFACE_LIBRARIES kdeui kdecore kwindowsystem Qt5::Widgets)
#do NOT use GENERIC versioning -- the plasma team will take care of versioning
set_target_properties(plasma PROPERTIES

View File

@ -14,7 +14,7 @@ ENDMACRO(SODEP_UNIT_TESTS)
MACRO(SODEP_EXECUTABLE_TESTS)
FOREACH(_testname ${ARGN})
add_executable(${_testname} NOGUI ${_testname}.cpp)
target_link_libraries(${_testname} ${QT_QTGUI_LIBRARY} ${QT_QTNETWORK_LIBRARY} QtJolie)
target_link_libraries(${_testname} Qt5::Widgets ${QT_QTNETWORK_LIBRARY} QtJolie)
ecm_mark_as_test(${_testname})`
add_definitions(-DDATA_DIR="\\"${CMAKE_CURRENT_SOURCE_DIR}\\"")
ENDFOREACH(_testname)