Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
0143b635
Commit
0143b635
authored
Mar 09, 2022
by
Volker Krause
Browse files
Use version-less Qt macros, targets and variables
Prepares for building against Qt6.
parent
a1fec92e
Pipeline
#148233
passed with stage
in 14 minutes and 58 seconds
Changes
17
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
0143b635
...
...
@@ -279,8 +279,8 @@ if (KWIN_BUILD_TABBOX)
target_link_libraries
(
kwin Qt::GuiPrivate
)
endif
()
qt
5
_generate_dbus_interface
(
virtualkeyboard_dbus.h org.kde.kwin.VirtualKeyboard.xml OPTIONS -A
)
qt
5
_generate_dbus_interface
(
tabletmodemanager.h org.kde.KWin.TabletModeManager.xml OPTIONS -A
)
qt_generate_dbus_interface
(
virtualkeyboard_dbus.h org.kde.kwin.VirtualKeyboard.xml OPTIONS -A
)
qt_generate_dbus_interface
(
tabletmodemanager.h org.kde.KWin.TabletModeManager.xml OPTIONS -A
)
generate_export_header
(
kwin EXPORT_FILE_NAME kwin_export.h
)
...
...
@@ -345,7 +345,7 @@ endif()
install
(
FILES kwin.kcfg DESTINATION
${
KDE_INSTALL_KCFGDIR
}
RENAME
${
KWIN_NAME
}
.kcfg
)
if
(
KWIN_BUILD_NOTIFICATIONS
)
install
(
FILES kwin.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFY
5
RCDIR
}
RENAME
${
KWIN_NAME
}
.notifyrc
)
install
(
FILES kwin.notifyrc DESTINATION
${
KDE_INSTALL_KNOTIFYRCDIR
}
RENAME
${
KWIN_NAME
}
.notifyrc
)
endif
()
install
(
FILES
...
...
@@ -362,4 +362,4 @@ install(
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/kwin_export.h DESTINATION
${
KDE_INSTALL_INCLUDEDIR
}
COMPONENT Devel
)
# Install the KWin/Script service type
install
(
FILES scripting/kwinscript.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES scripting/kwinscript.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
src/backends/libinput/CMakeLists.txt
View file @
0143b635
qt
5
_generate_dbus_interface
(
device.h org.kde.kwin.InputDevice.xml OPTIONS -A
)
qt_generate_dbus_interface
(
device.h org.kde.kwin.InputDevice.xml OPTIONS -A
)
add_custom_target
(
KWinInputDBusInterfaces
...
...
src/effects/CMakeLists.txt
View file @
0143b635
...
...
@@ -34,7 +34,7 @@ macro(KWIN4_ADD_EFFECT_MODULE name)
endmacro
()
# Install the KWin/Effect service type
install
(
FILES kwineffect.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES kwineffect.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
# scripted effects
function
(
install_scripted_effect name
)
...
...
src/helpers/wayland_wrapper/CMakeLists.txt
View file @
0143b635
...
...
@@ -15,6 +15,6 @@ ecm_qt_declare_logging_category(kwin_wayland_wrapper
Warning
)
target_link_libraries
(
kwin_wayland_wrapper Qt
5
::Core Qt
5
::DBus KF5::DBusAddons KF5::CoreAddons KWinXwaylandCommon
)
target_link_libraries
(
kwin_wayland_wrapper Qt::Core Qt::DBus KF5::DBusAddons KF5::CoreAddons KWinXwaylandCommon
)
set_property
(
TARGET kwin_wayland_wrapper PROPERTY C_STANDARD 11
)
install
(
TARGETS kwin_wayland_wrapper
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
src/kcmkwin/kwincompositing/CMakeLists.txt
View file @
0143b635
...
...
@@ -31,4 +31,4 @@ target_link_libraries(kwincompositing
)
install
(
TARGETS kwincompositing DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES kwincompositing.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kwincompositing.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
src/kcmkwin/kwindecoration/CMakeLists.txt
View file @
0143b635
...
...
@@ -53,7 +53,7 @@ configure_file(window-decorations.knsrc.cmake ${CMAKE_CURRENT_BINARY_DIR}/window
# This desktop file is installed only for retrocompatibility with sycoca
install
(
FILES kwindecorationsettings.kcfg DESTINATION
${
KDE_INSTALL_KCFGDIR
}
)
install
(
FILES kwindecoration.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kwindecoration.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
install
(
FILES
${
CMAKE_CURRENT_BINARY_DIR
}
/window-decorations.knsrc DESTINATION
${
KDE_INSTALL_KNSRCDIR
}
)
install
(
TARGETS kcm_kwindecoration DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kcms
)
install
(
TARGETS kwin-applywindowdecoration DESTINATION
${
KDE_INSTALL_LIBEXECDIR
}
)
...
...
src/kcmkwin/kwindesktop/CMakeLists.txt
View file @
0143b635
...
...
@@ -32,5 +32,5 @@ kcoreaddons_desktop_to_json(kcm_kwin_virtualdesktops "kcm_kwin_virtualdesktops.d
install
(
FILES virtualdesktopssettings.kcfg DESTINATION
${
KDE_INSTALL_KCFGDIR
}
)
install
(
TARGETS kcm_kwin_virtualdesktops DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kcms
)
install
(
FILES kcm_kwin_virtualdesktops.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kcm_kwin_virtualdesktops.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kpackage_install_package
(
package kcm_kwin_virtualdesktops kcms
)
src/kcmkwin/kwineffects/CMakeLists.txt
View file @
0143b635
...
...
@@ -29,6 +29,6 @@ kcoreaddons_desktop_to_json(kcm_kwin_effects "kcm_kwin_effects.desktop")
########### install files ###############
install
(
TARGETS kcm_kwin_effects DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kcms
)
install
(
FILES kcm_kwin_effects.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kcm_kwin_effects.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
install
(
FILES kwineffect.knsrc DESTINATION
${
KDE_INSTALL_KNSRCDIR
}
)
kpackage_install_package
(
package kcm_kwin_effects kcms
)
src/kcmkwin/kwinoptions/CMakeLists.txt
View file @
0143b635
...
...
@@ -38,5 +38,5 @@ install(
FILES
kwinoptions.desktop
DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
${
KDE_INSTALL_KSERVICESDIR
}
)
src/kcmkwin/kwinrules/CMakeLists.txt
View file @
0143b635
...
...
@@ -55,7 +55,7 @@ target_link_libraries(kcm_kwinrules KWinRulesObjects)
kcoreaddons_desktop_to_json
(
kcm_kwinrules
"kcm_kwinrules.desktop"
SERVICE_TYPES kcmodule.desktop
)
install
(
TARGETS kcm_kwinrules DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kcms
)
install
(
FILES kcm_kwinrules.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kcm_kwinrules.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kpackage_install_package
(
package kcm_kwinrules kcms
)
install
(
FILES org.kde.kwin_rules_dialog.desktop DESTINATION
${
KDE_INSTALL_APPDIR
}
)
src/kcmkwin/kwinscreenedges/CMakeLists.txt
View file @
0143b635
...
...
@@ -59,4 +59,4 @@ add_library(kcm_kwintouchscreen MODULE ${kcm_kwintouchscreenedges_PART_SRCS})
target_link_libraries
(
kcm_kwintouchscreen
${
X11_LIBRARIES
}
${
kcm_screenedges_LIBS
}
)
install
(
TARGETS kcm_kwinscreenedges kcm_kwintouchscreen DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES kwinscreenedges.desktop kwintouchscreen.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kwinscreenedges.desktop kwintouchscreen.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
src/kcmkwin/kwinscripts/CMakeLists.txt
View file @
0143b635
...
...
@@ -23,5 +23,5 @@ target_link_libraries(kcm_kwin_scripts
)
install
(
TARGETS kcm_kwin_scripts DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
install
(
FILES kwinscripts.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kwinscripts.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
install
(
FILES kwinscripts.knsrc DESTINATION
${
KDE_INSTALL_KNSRCDIR
}
)
src/kcmkwin/kwintabbox/CMakeLists.txt
View file @
0143b635
...
...
@@ -36,7 +36,7 @@ target_link_libraries(kcm_kwintabbox
install
(
TARGETS kcm_kwintabbox DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
)
########### install files ###############
install
(
FILES kwintabbox.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kwintabbox.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
install
(
FILES thumbnails/konqueror.png
thumbnails/kmail.png
thumbnails/systemsettings.png
...
...
src/kcmkwin/kwinvirtualkeyboard/CMakeLists.txt
View file @
0143b635
...
...
@@ -24,5 +24,5 @@ target_link_libraries(kcm_virtualkeyboard
kcoreaddons_desktop_to_json
(
kcm_virtualkeyboard
"kcm_virtualkeyboard.desktop"
)
install
(
TARGETS kcm_virtualkeyboard DESTINATION
${
KDE_INSTALL_PLUGINDIR
}
/kcms
)
install
(
FILES kcm_virtualkeyboard.desktop DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
)
install
(
FILES kcm_virtualkeyboard.desktop DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
)
kpackage_install_package
(
package kcm_virtualkeyboard kcms
)
src/plugins/kdecorations/aurorae/src/CMakeLists.txt
View file @
0143b635
...
...
@@ -70,4 +70,4 @@ set(QMLFILES
)
install
(
FILES
${
QMLFILES
}
DESTINATION
${
KDE_INSTALL_QMLDIR
}
/org/kde/kwin/decoration
)
file
(
COPY
${
QMLFILES
}
DESTINATION
${
CMAKE_BINARY_DIR
}
/bin/org/kde/kwin/decoration/
)
install
(
FILES kwindecoration.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES kwindecoration.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
src/plugins/kdecorations/aurorae/themes/plastik/CMakeLists.txt
View file @
0143b635
...
...
@@ -4,7 +4,7 @@ install(DIRECTORY package/
DESTINATION
${
KDE_INSTALL_DATADIR
}
/
${
KWIN_NAME
}
/decorations/kwin4_decoration_qml_plastik
)
install
(
FILES package/metadata.desktop
DESTINATION
${
KDE_INSTALL_KSERVICES
5
DIR
}
/
${
KWIN_NAME
}
DESTINATION
${
KDE_INSTALL_KSERVICESDIR
}
/
${
KWIN_NAME
}
RENAME kwin4_decoration_qml_plastik.desktop
)
file
(
COPY package/ DESTINATION
${
CMAKE_BINARY_DIR
}
/bin/kwin/decorations/kwin4_decoration_qml_plastik
)
src/tabbox/CMakeLists.txt
View file @
0143b635
# Install the KWin/WindowSwitcher service type
install
(
FILES kwinwindowswitcher.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES kwindesktopswitcher.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPES
5
DIR
}
)
install
(
FILES kwinwindowswitcher.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
install
(
FILES kwindesktopswitcher.desktop DESTINATION
${
KDE_INSTALL_KSERVICETYPESDIR
}
)
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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