Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Bluedevil
Commits
2de8dd48
Commit
2de8dd48
authored
Jan 30, 2021
by
Nicolas Fella
Browse files
Use versionless Qt cmake target
This makes it easier to build against both Qt5 and Qt6 GIT_SILENT
parent
eef8e1d5
Changes
7
Hide whitespace changes
Inline
Side-by-side
src/applet/plugin/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -5,8 +5,8 @@ add_library(bluetoothplugin SHARED
bluetoothplugin.cpp
)
target_link_libraries
(
bluetoothplugin
Qt
5
::Core
Qt
5
::Qml
Qt::Core
Qt::Qml
KF5::Notifications
KF5::BluezQt
)
...
...
src/kcm/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -4,9 +4,9 @@ kconfig_add_kcfg_files(kcm_bluetooth GENERATE_MOC
../settings/filereceiversettings.kcfgc
)
target_link_libraries
(
kcm_bluetooth
Qt
5
::Gui
Qt
5
::Qml
Qt
5
::DBus
Qt::Gui
Qt::Qml
Qt::DBus
KF5::CoreAddons
KF5::ConfigGui
KF5::QuickAddons
...
...
src/kded/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -20,7 +20,7 @@ kcoreaddons_add_plugin(kded_bluedevil INSTALL_NAMESPACE "kf5/kded" JSON bluedevi
set_target_properties
(
kded_bluedevil PROPERTIES OUTPUT_NAME bluedevil
)
target_link_libraries
(
kded_bluedevil
Qt
5
::Gui
Qt::Gui
KF5::I18n
KF5::CoreAddons
KF5::DBusAddons
...
...
src/kio/bluetooth/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -10,13 +10,13 @@ kconfig_add_kcfg_files(kio_bluetooth_SRCS GENERATE_MOC ../../settings/filereceiv
add_library
(
kio_bluetooth MODULE
${
kio_bluetooth_SRCS
}
)
target_link_libraries
(
kio_bluetooth
Qt
5
::Core
Qt
5
::DBus
Qt::Core
Qt::DBus
KF5::I18n
KF5::KIOCore
KF5::CoreAddons
KF5::ConfigGui
Qt
5
::Network
Qt::Network
)
target_include_directories
(
kio_bluetooth
...
...
src/kio/obexftp/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -10,13 +10,13 @@ qt5_add_dbus_interface(kio_obexftp_SRCS ${kded_obexftp.xml} kdedobexftp)
add_library
(
kio_obexftp MODULE
${
kio_obexftp_SRCS
}
)
target_link_libraries
(
kio_obexftp
Qt
5
::Core
Qt
5
::DBus
Qt::Core
Qt::DBus
KF5::I18n
KF5::KIOCore
KF5::CoreAddons
KF5::BluezQt
Qt
5
::Network
Qt::Network
)
install
(
TARGETS kio_obexftp DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
...
...
src/sendfile/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -22,8 +22,8 @@ ki18n_wrap_ui(sendfilehelper_SRCS
add_executable
(
bluedevil-sendfile
${
sendfilehelper_SRCS
}
)
target_link_libraries
(
bluedevil-sendfile
Qt
5
::Widgets
Qt
5
::DBus
Qt::Widgets
Qt::DBus
KF5::I18n
KF5::CoreAddons
KF5::DBusAddons
...
...
src/wizard/CMakeLists.txt
View file @
2de8dd48
...
...
@@ -22,8 +22,8 @@ ki18n_wrap_ui(wizard_SRCS
add_executable
(
bluedevil-wizard
${
wizard_SRCS
}
)
target_link_libraries
(
bluedevil-wizard
Qt
5
::Widgets
Qt
5
::DBus
Qt::Widgets
Qt::DBus
KF5::I18n
KF5::CoreAddons
KF5::DBusAddons
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment