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:
parent
01e95b0129
commit
f3841c661d
@ -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
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user