[plasma-framework] src/plasma: Make QtGui a public dependency of KF5::Plasma

Aleix Pol aleixpol at kde.org
Mon May 26 02:17:16 UTC 2014


Git commit efdf1ca9176528cd1a16773e887df7740f42ee54 by Aleix Pol.
Committed on 26/05/2014 at 02:16.
Pushed by apol into branch 'master'.

Make QtGui a public dependency of KF5::Plasma

Many classes from QtGui are specified in the header files, this alone is
enough reason to make it a public dependency. (QGuiApplication, QFont,
QPixmap are some examples).
This also pulls QtCore (e.g. QString, QRect, QUrl), which also is, of
course.

CCMAIL: plasma-devel at kde.org

M  +1    -1    src/plasma/CMakeLists.txt

http://commits.kde.org/plasma-framework/efdf1ca9176528cd1a16773e887df7740f42ee54

diff --git a/src/plasma/CMakeLists.txt b/src/plasma/CMakeLists.txt
index 71742f6..3801857 100644
--- a/src/plasma/CMakeLists.txt
+++ b/src/plasma/CMakeLists.txt
@@ -110,8 +110,8 @@ endif()
 target_link_libraries(KF5Plasma
 PUBLIC
     KF5::Service # For kplugininfo.h and kservice.h
-PRIVATE
     Qt5::Gui
+PRIVATE
     Qt5::Sql
     Qt5::Svg
     Qt5::DBus


More information about the Plasma-devel mailing list