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
PIM
KAlarm
Commits
81f19168
Commit
81f19168
authored
Aug 17, 2022
by
Laurent Montel
Browse files
Use Qt:: directly
parent
5e8452d0
Pipeline
#218895
passed with stage
in 5 minutes and 50 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
81f19168
...
...
@@ -339,7 +339,7 @@ endif()
if
(
ENABLE_X11
)
if
(
QT_MAJOR_VERSION STREQUAL
"5"
)
target_link_libraries
(
kalarm_bin Qt
${
QT_MAJOR_VERSION
}
::X11Extras
${
X11_X11_LIB
}
)
target_link_libraries
(
kalarm_bin Qt::X11Extras
${
X11_X11_LIB
}
)
elseif
(
Qt6_VERSION_MINOR LESS 2
)
target_link_libraries
(
kalarm_bin Qt6::GuiPrivate
${
X11_X11_LIB
}
)
else
()
...
...
src/autostart/CMakeLists.txt
View file @
81f19168
...
...
@@ -25,7 +25,7 @@ add_executable(kalarmautostart ${kalarmautostart_SRCS})
target_link_libraries
(
kalarmautostart
KF5::I18n
KF5::CoreAddons
Qt
${
QT_MAJOR_VERSION
}
::Widgets
Qt
${
QT_MAJOR_VERSION
}
::DBus
)
Qt::Widgets
Qt::DBus
)
install
(
TARGETS kalarmautostart
${
KDE_INSTALL_TARGETS_DEFAULT_ARGS
}
)
src/kalarmcalendar/autotests/CMakeLists.txt
View file @
81f19168
...
...
@@ -14,8 +14,8 @@ macro(macro_unit_tests)
KF5::CalendarCore
KF5::Holidays
kalarmcalendar
Qt
${
QT_MAJOR_VERSION
}
::DBus
Qt
${
QT_MAJOR_VERSION
}
::Test
)
Qt::DBus
Qt::Test
)
target_include_directories
(
${
_testname
}
PUBLIC
"$<BUILD_INTERFACE:
${
kalarm_SOURCE_DIR
}
/src/kalarmcalendar;
${
kalarm_BINARY_DIR
}
/src/kalarmcalendar>"
)
endforeach
()
endmacro
()
...
...
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