Commit e33e31bb authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix show headers in qtc6

parent b4cf63a3
Pipeline #119330 passed with stage
in 1 minute and 59 seconds
......@@ -22,6 +22,11 @@ target_sources(akonadi_notes_agent PRIVATE
notesagentsettingsdialog.cpp
notesagentalarmdialog.cpp
notesagentnotedialog.cpp
notesagent.h
notesmanager.h
notesagentsettingsdialog.h
notesagentalarmdialog.h
notesagentnotedialog.h
)
if (COMPILE_WITH_UNITY_CMAKE_SUPPORT)
......
# SPDX-FileCopyrightText: none
# SPDX-License-Identifier: BSD-3-Clause
add_executable(noteeditorutilstest noteeditorutilstest.cpp )
add_executable(noteeditorutilstest noteeditorutilstest.cpp noteeditorutilstest.h)
add_test(NAME noteeditorutilstest COMMAND noteeditorutilstest)
ecm_mark_as_test(noteeditorutilstest)
target_link_libraries(noteeditorutilstest Qt::Test notesharedprivate)
add_executable(noteutilstest noteutilstest.cpp )
add_executable(noteutilstest noteutilstest.cpp noteutilstest.h)
add_test(NAME noteutilstest COMMAND noteutilstest)
ecm_mark_as_test(noteutilstest)
target_link_libraries(noteutilstest Qt::Test notesharedprivate)
......@@ -3,13 +3,10 @@
add_definitions(-DTRANSLATION_DOMAIN=\"libnoteshared\")
set(libnoteshared_akonadi_SRCS
akonadi/notesakonaditreemodel.cpp
akonadi/noteschangerecorder.cpp
)
set(libnoteshared_SRCS
noteshared_debug.cpp
akonadi/notesakonaditreemodel.cpp
akonadi/noteschangerecorder.cpp
attributes/notealarmattribute.cpp
attributes/notedisplayattribute.cpp
attributes/notelockattribute.cpp
......@@ -28,8 +25,27 @@ set(libnoteshared_SRCS
dialog/selectednotefolderdialog.cpp
widget/notelistwidget.cpp
alarms/notealarmdialog.cpp
${libnoteshared_akonadi_SRCS}
)
akonadi/notesakonaditreemodel.h
akonadi/noteschangerecorder.h
attributes/notealarmattribute.h
attributes/notedisplayattribute.h
attributes/notelockattribute.h
attributes/showfoldernotesattribute.h
noteutils.h
network/notesnetworksender.h
network/notesnetworkreceiver.h
network/notehostdialog.h
editor/noteeditorutils.h
editor/noteeditor.h
config/noteactionconfig.h
config/notenetworkconfig.h
resources/localresourcecreator.h
job/createnewnotejob.h
dialog/selectednotefolderdialog.h
widget/notelistwidget.h
alarms/notealarmdialog.h
)
ecm_qt_declare_logging_category(libnoteshared_SRCS HEADER noteshared_debug.h IDENTIFIER NOTESHARED_LOG CATEGORY_NAME org.kde.pim.noteshared
DESCRIPTION "knotes (noteshared)"
......
......@@ -8,7 +8,7 @@ include_directories(
macro(add_noteshared_unittest _source)
set(_test ${_source})
get_filename_component(_name ${_source} NAME_WE)
add_executable(${_name} ${_test})
add_executable(${_name} ${_test} ${_name}.h)
add_test(NAME ${_name} COMMAND ${_name})
ecm_mark_as_test(noteshared-${_name})
target_link_libraries(${_name}
......
......@@ -18,7 +18,6 @@ add_library(knotesprivate)
target_sources(knotesprivate PRIVATE
knoteedit.cpp
knotes_debug.cpp
notes/knotedisplaysettings.cpp
utils/knoteutils.cpp
notes/knoteinterface.cpp
......@@ -33,6 +32,22 @@ target_sources(knotesprivate PRIVATE
print/knoteprinter.cpp
print/knoteprintobject.cpp
print/knotegrantleeprint.cpp
knoteedit.h
notes/knotedisplaysettings.h
utils/knoteutils.h
notes/knoteinterface.h
notes/knotesmigrateapplication.h
finddialog/knotefinddialog.h
configdialog/knotesimpleconfigdialog.h
configdialog/knoteconfigdialog.h
configdialog/knotedisplayconfigwidget.h
configdialog/knoteeditorconfigwidget.h
print/knoteprintselectthemedialog.h
print/knoteprintselectthemecombobox.h
print/knoteprinter.h
print/knoteprintobject.h
print/knotegrantleeprint.h
)
configure_file(settings/knotesglobalconfig.kcfg.cmake ${CMAKE_CURRENT_BINARY_DIR}/knotesglobalconfig.kcfg )
......@@ -68,7 +83,8 @@ set_target_properties(knotesprivate
install(TARGETS knotesprivate ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} LIBRARY NAMELINK_SKIP)
set(knotes_SRCS knotes_debug.cpp
set(knotes_SRCS
knotes_debug.cpp
apps/main.cpp
apps/application.cpp
apps/knotesapp.cpp
......@@ -79,7 +95,18 @@ set(knotes_SRCS knotes_debug.cpp
print/knoteprintselectednotesdialog.cpp
notes/knote.cpp
dialog/knoteselectednotesdialog.cpp
)
apps/application.h
apps/knotesapp.h
apps/knotesakonaditray.h
dialog/knoteskeydialog.h
dialog/knotedeleteselectednotesdialog.h
notes/knotebutton.h
print/knoteprintselectednotesdialog.h
notes/knote.h
dialog/knoteselectednotesdialog.h
)
qt_add_dbus_adaptor(knotes_SRCS apps/org.kde.KNotes.xml apps/knotesapp.h KNotesApp )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment