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
KDE Portal for XDG Desktop
Commits
fb350032
Commit
fb350032
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
bc807606
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
fb350032
...
...
@@ -55,12 +55,12 @@ qt5_add_dbus_interface(xdg_desktop_portal_kde_SRCS ../data/org.freedesktop.Accou
add_executable
(
xdg-desktop-portal-kde
${
xdg_desktop_portal_kde_SRCS
}
)
target_link_libraries
(
xdg-desktop-portal-kde
Qt
5
::Core
Qt
5
::DBus
Qt
5
::Concurrent
Qt
5
::PrintSupport
Qt
5
::QuickWidgets
Qt
5
::Widgets
Qt::Core
Qt::DBus
Qt::Concurrent
Qt::PrintSupport
Qt::QuickWidgets
Qt::Widgets
KF5::CoreAddons
KF5::ConfigCore
KF5::Declarative
...
...
src/kirigami-filepicker/CMakeLists.txt
View file @
fb350032
...
...
@@ -12,8 +12,8 @@ set(filepicker_lib_SRCS
add_library
(
KirigamiFilepicker STATIC
${
filepicker_lib_SRCS
}
)
target_include_directories
(
KirigamiFilepicker PRIVATE declarative
)
target_link_libraries
(
KirigamiFilepicker
Qt
5
::Quick
Qt
5
::Qml
Qt::Quick
Qt::Qml
KF5::I18n
KF5::KIOCore
KF5::KIOFileWidgets
...
...
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