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
PIM IncidenceEditor
Commits
de17d436
Commit
de17d436
authored
Aug 17, 2022
by
Laurent Montel
Browse files
Use Qt:: directly
parent
7654b45c
Pipeline
#218892
passed with stage
in 7 minutes and 35 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/CMakeLists.txt
View file @
de17d436
...
...
@@ -12,7 +12,7 @@ macro(IE_UNIT_TESTS)
add_test
(
NAME
${
_testname
}
COMMAND
${
_testname
}
)
ecm_mark_as_test
(
${
_testname
}
)
target_link_libraries
(
${
_testname
}
Qt
${
QT_MAJOR_VERSION
}
::Test
Qt::Test
KF5::AkonadiCore
${
grant_lib
}
KF5::CalendarUtils
...
...
@@ -26,7 +26,7 @@ endmacro()
macro
(
IE_EXECUTABLE_TESTS
)
foreach
(
_testname
${
ARGN
}
)
add_executable
(
${
_testname
}
NOGUI TEST
${
_testname
}
.cpp
${
_testname
}
.h
)
target_link_libraries
(
${
_testname
}
KF5::CalendarCore Qt
${
QT_MAJOR_VERSION
}
::Test KF5::IncidenceEditor Qt
${
QT_MAJOR_VERSION
}
::Widgets
)
target_link_libraries
(
${
_testname
}
KF5::CalendarCore Qt::Test KF5::IncidenceEditor Qt::Widgets
)
endforeach
()
endmacro
()
...
...
@@ -42,7 +42,7 @@ ecm_mark_as_test(ktimezonecomboboxtest)
target_link_libraries
(
ktimezonecomboboxtest
KF5::CalendarCore
Qt
${
QT_MAJOR_VERSION
}
::Test
Qt::Test
KF5::IncidenceEditor
KF5::Completion
)
...
...
@@ -53,8 +53,8 @@ add_test(NAME testindividualmaildialog COMMAND testindividualmaildialog)
ecm_mark_as_test
(
testindividualmaildialog
)
target_link_libraries
(
testindividualmaildialog
KF5::CalendarCore
Qt
${
QT_MAJOR_VERSION
}
::Test
Qt
${
QT_MAJOR_VERSION
}
::Widgets
Qt::Test
Qt::Widgets
KF5::WidgetsAddons
KF5::I18n
KF5::IncidenceEditor
...
...
@@ -64,8 +64,8 @@ target_link_libraries(testindividualmaildialog
# set up an environment.
add_akonadi_isolated_test
(
SOURCE incidencedatetimetest.cpp
LINK_LIBRARIES Qt
${
QT_MAJOR_VERSION
}
::Test
Qt
${
QT_MAJOR_VERSION
}
::Widgets
LINK_LIBRARIES Qt::Test
Qt::Widgets
KF5::AkonadiWidgets
KF5::Completion
KF5::IncidenceEditor
...
...
tests/CMakeLists.txt
View file @
de17d436
...
...
@@ -4,8 +4,8 @@ set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
add_executable
(
resourcemanagement_gui resourcemanagment_gui.cpp
)
target_link_libraries
(
resourcemanagement_gui
Qt
${
QT_MAJOR_VERSION
}
::Core
Qt
${
QT_MAJOR_VERSION
}
::Gui
Qt::Core
Qt::Gui
KF5::Mime
KF5::IncidenceEditor
KF5::Libkdepim
...
...
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