diff --git a/plugins/appwizard/CMakeLists.txt b/plugins/appwizard/CMakeLists.txt
index 23813e87d..5288db488 100644
--- a/plugins/appwizard/CMakeLists.txt
+++ b/plugins/appwizard/CMakeLists.txt
@@ -1,35 +1,32 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevappwizard\")
########### next target ###############
set(kdevappwizard_PART_SRCS
appwizardplugin.cpp
appwizarddialog.cpp
appwizardpagewidget.cpp
projectselectionpage.cpp
projecttemplatesmodel.cpp
projectvcspage.cpp
)
set(kdevappwizard_PART_UI
projectselectionpage.ui
projectvcspage.ui
)
ki18n_wrap_ui(kdevappwizard_PART_SRCS ${kdevappwizard_PART_UI})
+qt5_add_resources(kdevappwizard_PART_SRCS kdevappwizard.qrc)
kdevplatform_add_plugin(kdevappwizard JSON kdevappwizard.json SOURCES ${kdevappwizard_PART_SRCS})
target_link_libraries(kdevappwizard
KF5::KIOWidgets
KF5::NewStuff
KF5::Archive
KDev::Interfaces KDev::Vcs KDev::Language KDev::Util)
install(TARGETS kdevappwizard DESTINATION ${KDE_INSTALL_PLUGINDIR}/kdevplatform/${KDEV_PLUGIN_VERSION} )
-########### install files ###############
-
-install( FILES kdevappwizard.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevappwizard )
-install( FILES kdevappwizard.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
diff --git a/plugins/appwizard/kdevappwizard.qrc b/plugins/appwizard/kdevappwizard.qrc
new file mode 100644
index 000000000..01c24c681
--- /dev/null
+++ b/plugins/appwizard/kdevappwizard.qrc
@@ -0,0 +1,9 @@
+
+
+
+ kdevappwizard.rc
+
+
+ kdevappwizard.knsrc
+
+
diff --git a/plugins/classbrowser/CMakeLists.txt b/plugins/classbrowser/CMakeLists.txt
index b83b440dd..63763b916 100644
--- a/plugins/classbrowser/CMakeLists.txt
+++ b/plugins/classbrowser/CMakeLists.txt
@@ -1,27 +1,24 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevclassbrowser\")
include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${Boost_INCLUDE_DIRS}
)
# workaround a boost bug in 1.37 and 1.38 that causes link failure when exceptions are disabled
# see https://svn.boost.org/trac/boost/ticket/2947 for details
if( ${Boost_MAJOR_VERSION}.${Boost_MINOR_VERSION}.${Boost_PATCH_VERSION} VERSION_GREATER 1.36.1 )
kde_enable_exceptions()
endif()
########### next target ###############
set(kdevclassbrowser_PART_SRCS
classbrowserplugin.cpp
classwidget.cpp
classtree.cpp
)
+qt5_add_resources(kdevclassbrowser_PART_SRCS kdevclassbrowser.qrc)
kdevplatform_add_plugin(kdevclassbrowser JSON kdevclassbrowser.json SOURCES ${kdevclassbrowser_PART_SRCS})
target_link_libraries(kdevclassbrowser KF5::TextEditor KDev::Util KDev::Language KDev::Interfaces)
-
-########### install files ###############
-
-install(FILES kdevclassbrowser.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevclassbrowser)
diff --git a/plugins/classbrowser/kdevclassbrowser.qrc b/plugins/classbrowser/kdevclassbrowser.qrc
new file mode 100644
index 000000000..f57aa23a0
--- /dev/null
+++ b/plugins/classbrowser/kdevclassbrowser.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevclassbrowser.rc
+
+
diff --git a/plugins/codeutils/CMakeLists.txt b/plugins/codeutils/CMakeLists.txt
index 19052252e..1e3667f0a 100644
--- a/plugins/codeutils/CMakeLists.txt
+++ b/plugins/codeutils/CMakeLists.txt
@@ -1,26 +1,23 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevcodeutils\")
project(codeutils)
########### install target ###############
set(kdevcodeutils_PART_SRCS
codeutilsplugin.cpp
)
include_directories(CMAKE_CURRENT_BINARY_DIR)
+qt5_add_resources(kdevcodeutils_PART_SRCS kdevcodeutils.qrc)
kdevplatform_add_plugin(kdevcodeutils JSON kdevcodeutils.json SOURCES ${kdevcodeutils_PART_SRCS})
target_link_libraries(kdevcodeutils
KF5::Parts
KF5::TextEditor
KDev::Interfaces
KDev::Util
KDev::Language
)
add_subdirectory(doc_templates)
-
-########### install files ###############
-
-install( FILES kdevcodeutils.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevcodeutils )
diff --git a/plugins/codeutils/kdevcodeutils.qrc b/plugins/codeutils/kdevcodeutils.qrc
new file mode 100644
index 000000000..940e53549
--- /dev/null
+++ b/plugins/codeutils/kdevcodeutils.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevcodeutils.rc
+
+
diff --git a/plugins/contextbrowser/CMakeLists.txt b/plugins/contextbrowser/CMakeLists.txt
index 777de6b22..a77c8bbb5 100644
--- a/plugins/contextbrowser/CMakeLists.txt
+++ b/plugins/contextbrowser/CMakeLists.txt
@@ -1,15 +1,14 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevcontextbrowser\")
########### next target ###############
set(kdevcontextbrowser_PART_SRCS
contextbrowser.cpp
contextbrowserview.cpp
browsemanager.cpp
)
+qt5_add_resources(kdevcontextbrowser_PART_SRCS kdevcontextbrowser.qrc)
kdevplatform_add_plugin(kdevcontextbrowser JSON kdevcontextbrowser.json SOURCES ${kdevcontextbrowser_PART_SRCS})
target_link_libraries(kdevcontextbrowser KDev::Interfaces KDev::Util KDev::Language KDev::Sublime KF5::TextEditor KF5::Parts)
-
-install(FILES kdevcontextbrowser.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevcontextbrowser)
diff --git a/plugins/contextbrowser/kdevcontextbrowser.qrc b/plugins/contextbrowser/kdevcontextbrowser.qrc
new file mode 100644
index 000000000..2ef429438
--- /dev/null
+++ b/plugins/contextbrowser/kdevcontextbrowser.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevcontextbrowser.rc
+
+
diff --git a/plugins/cvs/CMakeLists.txt b/plugins/cvs/CMakeLists.txt
index e0b61a0e2..0dbecd7a3 100644
--- a/plugins/cvs/CMakeLists.txt
+++ b/plugins/cvs/CMakeLists.txt
@@ -1,49 +1,46 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevcvs\")
add_subdirectory(tests)
########### next target ###############
set(kdevcvs_PART_SRCS
cvsplugin.cpp
cvsmainview.cpp
cvsgenericoutputview.cpp
cvsjob.cpp
cvsproxy.cpp
editorsview.cpp
commitdialog.cpp
importmetadatawidget.cpp
importdialog.cpp
checkoutdialog.cpp
cvsannotatejob.cpp
cvslogjob.cpp
cvsdiffjob.cpp
cvsstatusjob.cpp
)
set(kdevcvs_PART_UI
cvsmainview.ui
cvsgenericoutputview.ui
editorsview.ui
commitdialog.ui
importmetadatawidget.ui
checkoutdialog.ui
)
ki18n_wrap_ui(kdevcvs_PART_SRCS ${kdevcvs_PART_UI})
+qt5_add_resources(kdevcvs_PART_SRCS kdevcvs.qrc)
kdevplatform_add_plugin(kdevcvs JSON kdevcvs.json SOURCES ${kdevcvs_PART_SRCS})
target_link_libraries(kdevcvs
KF5::KIOWidgets
KF5::Parts
KDev::Util
KDev::Interfaces
KDev::Vcs
KDev::Project
KDev::Language
-)
-
-########### install files ###############
-
-install( FILES kdevcvs.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevcvs )
+)
\ No newline at end of file
diff --git a/plugins/cvs/kdevcvs.qrc b/plugins/cvs/kdevcvs.qrc
new file mode 100644
index 000000000..88498fe95
--- /dev/null
+++ b/plugins/cvs/kdevcvs.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevcvs.rc
+
+
diff --git a/plugins/documentswitcher/CMakeLists.txt b/plugins/documentswitcher/CMakeLists.txt
index 2fb580e96..2e94ddaf4 100644
--- a/plugins/documentswitcher/CMakeLists.txt
+++ b/plugins/documentswitcher/CMakeLists.txt
@@ -1,19 +1,14 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevdocumentswitcher\")
project(documentswitcher)
########### next target ###############
set(kdevdocumentswitcher_PART_SRCS
documentswitcherplugin.cpp
documentswitchertreeview.cpp
)
+qt5_add_resources(kdevdocumentswitcher_PART_SRCS kdevdocumentswitcher.qrc)
kdevplatform_add_plugin(kdevdocumentswitcher JSON kdevdocumentswitcher.json SOURCES ${kdevdocumentswitcher_PART_SRCS})
target_link_libraries(kdevdocumentswitcher KDev::Interfaces KDev::Sublime KDev::Interfaces )
-
-########### install files ###############
-
-install( FILES kdevdocumentswitcher.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevdocumentswitcher )
-
-
diff --git a/plugins/documentswitcher/kdevdocumentswitcher.qrc b/plugins/documentswitcher/kdevdocumentswitcher.qrc
new file mode 100644
index 000000000..144cf209a
--- /dev/null
+++ b/plugins/documentswitcher/kdevdocumentswitcher.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevdocumentswitcher.rc
+
+
diff --git a/plugins/documentview/CMakeLists.txt b/plugins/documentview/CMakeLists.txt
index d052378f0..aba4089a7 100644
--- a/plugins/documentview/CMakeLists.txt
+++ b/plugins/documentview/CMakeLists.txt
@@ -1,25 +1,21 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevdocumentview\")
project(documentview)
#add_subdirectory(settings)
########### next target ###############
set(kdevdocumentview_PART_SRCS
kdevdocumentview.cpp
kdevdocumentviewdelegate.cpp
kdevdocumentviewplugin.cpp
kdevdocumentmodel.cpp
kdevdocumentselection.cpp
)
+qt5_add_resources(kdevdocumentview_PART_SRCS kdevdocumentview.qrc)
kdevplatform_add_plugin(kdevdocumentview JSON kdevdocumentview.json SOURCES ${kdevdocumentview_PART_SRCS})
target_link_libraries(kdevdocumentview
KDev::Interfaces
KF5::TextEditor
)
-
-########### install files ###############
-
-install( FILES kdevdocumentview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevdocumentview )
-
diff --git a/plugins/documentview/kdevdocumentview.qrc b/plugins/documentview/kdevdocumentview.qrc
new file mode 100644
index 000000000..a52185028
--- /dev/null
+++ b/plugins/documentview/kdevdocumentview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevdocumentview.rc
+
+
diff --git a/plugins/externalscript/CMakeLists.txt b/plugins/externalscript/CMakeLists.txt
index 6ab9a20d2..099de0bb6 100644
--- a/plugins/externalscript/CMakeLists.txt
+++ b/plugins/externalscript/CMakeLists.txt
@@ -1,30 +1,27 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevexternalscript\")
########### next target ###############
set(kdevexternalscript_PART_SRCS
externalscriptplugin.cpp
externalscriptview.cpp
externalscriptitem.cpp
externalscriptjob.cpp
editexternalscript.cpp
externalscriptdebug.cpp
)
set(kdevexternalscript_PART_UI
externalscriptview.ui
editexternalscript.ui
)
ki18n_wrap_ui(kdevexternalscript_PART_SRCS ${kdevexternalscript_PART_UI})
+qt5_add_resources(kdevexternalscript_PART_SRCS kdevexternalscript.qrc)
kdevplatform_add_plugin(kdevexternalscript JSON kdevexternalscript.json SOURCES ${kdevexternalscript_PART_SRCS})
target_link_libraries(kdevexternalscript
KF5::TextEditor KF5::KIOWidgets KF5::Parts KF5::NewStuff
KDev::Language KDev::Interfaces KDev::Project
KDev::Util KDev::OutputView
)
-
-########### install files ###############
-
-install( FILES kdevexternalscript.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevexternalscript )
diff --git a/plugins/externalscript/kdevexternalscript.qrc b/plugins/externalscript/kdevexternalscript.qrc
new file mode 100644
index 000000000..61a9310b5
--- /dev/null
+++ b/plugins/externalscript/kdevexternalscript.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevexternalscript.rc
+
+
diff --git a/plugins/filemanager/CMakeLists.txt b/plugins/filemanager/CMakeLists.txt
index 2fe3c48f6..3a5b211a8 100644
--- a/plugins/filemanager/CMakeLists.txt
+++ b/plugins/filemanager/CMakeLists.txt
@@ -1,11 +1,10 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevfilemanager\")
set(kdevfilemanager_PART_SRCS
kdevfilemanagerplugin.cpp
filemanager.cpp
bookmarkhandler.cpp
)
+qt5_add_resources(kdevfilemanager_PART_SRCS kdevfilemanager.qrc)
kdevplatform_add_plugin(kdevfilemanager JSON kdevfilemanager.json SOURCES ${kdevfilemanager_PART_SRCS})
target_link_libraries(kdevfilemanager KF5::Bookmarks KF5::KIOCore KF5::KIOFileWidgets KF5::KIOWidgets KF5::TextEditor KDev::Interfaces)
-
-install( FILES kdevfilemanager.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevfilemanager )
diff --git a/plugins/filemanager/kdevfilemanager.qrc b/plugins/filemanager/kdevfilemanager.qrc
new file mode 100644
index 000000000..fe8ab16a8
--- /dev/null
+++ b/plugins/filemanager/kdevfilemanager.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevfilemanager.rc
+
+
diff --git a/plugins/filetemplates/CMakeLists.txt b/plugins/filetemplates/CMakeLists.txt
index 0894ce312..9fdb24e0b 100644
--- a/plugins/filetemplates/CMakeLists.txt
+++ b/plugins/filetemplates/CMakeLists.txt
@@ -1,93 +1,91 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevfiletemplates\")
set(kdevfiletemplates_PART_SRCS
templatepreview.cpp
templatepreviewtoolview.cpp
filetemplatesplugin.cpp
classidentifierpage.cpp
classmemberspage.cpp
defaultcreateclasshelper.cpp
licensepage.cpp
outputpage.cpp
overridespage.cpp
templateclassassistant.cpp
templateoptionspage.cpp
templateselectionpage.cpp
testcasespage.cpp
debug.cpp
)
ki18n_wrap_ui(kdevfiletemplates_PART_SRCS
templatepreviewtoolview.ui
ui/licensechooser.ui
ui/newclass.ui
ui/outputlocation.ui
ui/overridevirtuals.ui
ui/templateselection.ui
ui/testcases.ui
)
+qt5_add_resources(kdevfiletemplates_PART_SRCS kdevfiletemplates.qrc)
kdevplatform_add_plugin(kdevfiletemplates JSON kdevfiletemplates.json SOURCES ${kdevfiletemplates_PART_SRCS})
target_link_libraries(kdevfiletemplates
KDev::Interfaces
KDev::Language
KDev::Project
KDev::Util
KF5::NewStuff
KF5::TextEditor
KF5::ItemModels
)
########### install files ###############
-install( FILES kdevfiletemplates.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevfiletemplates )
-install( FILES kdevfiletemplates.knsrc DESTINATION ${KDE_INSTALL_CONFDIR} )
-
install(FILES
licenses/GPL\ v2
licenses/GPL\ v3
licenses/LGPL\ v2
licenses/LGPL\ v3
licenses/Apache\ v2
licenses/BSD
licenses/Boost
licenses/MIT\ X11
licenses/Mozilla\ v1.1
"licenses/LGPL v2+ (KDE)"
"licenses/GPL v2+ (KDE)"
DESTINATION ${KDE_INSTALL_DATADIR}/kdevcodegen/licenses
)
################
set(test_srcs
main.cpp
templatepreview.cpp
classidentifierpage.cpp
classmemberspage.cpp
defaultcreateclasshelper.cpp
licensepage.cpp
outputpage.cpp
overridespage.cpp
templateclassassistant.cpp
templateoptionspage.cpp
templateselectionpage.cpp
testcasespage.cpp
debug.cpp
)
add_executable(testfiletemplates ${test_srcs})
target_link_libraries(testfiletemplates
KDev::Interfaces
KDev::Language
KDev::Project
KDev::Util
KDev::Tests
KF5::NewStuff
)
add_subdirectory(tests)
diff --git a/plugins/filetemplates/kdevfiletemplates.qrc b/plugins/filetemplates/kdevfiletemplates.qrc
new file mode 100644
index 000000000..e1e9ff4d1
--- /dev/null
+++ b/plugins/filetemplates/kdevfiletemplates.qrc
@@ -0,0 +1,9 @@
+
+
+
+ kdevfiletemplates.rc
+
+
+ kdevfiletemplates.knsrc
+
+
diff --git a/plugins/grepview/CMakeLists.txt b/plugins/grepview/CMakeLists.txt
index d84d44ffe..b1906897b 100644
--- a/plugins/grepview/CMakeLists.txt
+++ b/plugins/grepview/CMakeLists.txt
@@ -1,43 +1,42 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevgrepview\")
project(grepview)
########### next target ###############
set(kdevgrepview_PART_SRCS
grepviewplugin.cpp
grepviewpluginmetadata.cpp
grepdialog.cpp
grepoutputmodel.cpp
grepoutputdelegate.cpp
grepjob.cpp
grepfindthread.cpp
grepoutputview.cpp
greputil.cpp
)
set(kdevgrepview_PART_UI
grepwidget.ui
grepoutputview.ui
)
ki18n_wrap_ui(kdevgrepview_PART_SRCS ${kdevgrepview_PART_UI})
+qt5_add_resources(kdevgrepview_PART_SRCS kdevgrepview.qrc)
kdevplatform_add_plugin(kdevgrepview JSON kdevgrepview.json SOURCES ${kdevgrepview_PART_SRCS})
target_link_libraries(kdevgrepview
KF5::Parts
KF5::TextEditor
KF5::Completion
KF5::TextEditor
KDev::Interfaces
KDev::OutputView
KDev::Project
KDev::Util
KDev::Language
)
########### install files ###############
-install( FILES kdevgrepview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevgrepview )
-
add_subdirectory(tests)
diff --git a/plugins/grepview/kdevgrepview.qrc b/plugins/grepview/kdevgrepview.qrc
new file mode 100644
index 000000000..935e6184b
--- /dev/null
+++ b/plugins/grepview/kdevgrepview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevgrepview.rc
+
+
diff --git a/plugins/patchreview/CMakeLists.txt b/plugins/patchreview/CMakeLists.txt
index 206186f95..90c9f434e 100644
--- a/plugins/patchreview/CMakeLists.txt
+++ b/plugins/patchreview/CMakeLists.txt
@@ -1,31 +1,29 @@
find_package(LibKompareDiff2 5.0 REQUIRED)
find_package(KDEExperimentalPurpose QUIET)
set_package_properties(KDEExperimentalPurpose PROPERTIES DESCRIPTION "EXPERIMENTAL. Support for patch sharing"
URL "https://projects.kde.org/projects/playground/libs/purpose"
TYPE OPTIONAL
)
add_definitions(-DTRANSLATION_DOMAIN=\"kdevpatchreview\")
kde_enable_exceptions()
include_directories(${LIBKOMPAREDIFF2_INCLUDE_DIR})
set(patchreview_PART_SRCS
patchreview.cpp
patchhighlighter.cpp
patchreviewtoolview.cpp
localpatchsource.cpp
)
ki18n_wrap_ui(patchreview_PART_SRCS patchreview.ui localpatchwidget.ui)
+qt5_add_resources(patchreview_PART_SRCS kdevpatchreview.qrc)
kdevplatform_add_plugin(kdevpatchreview JSON kdevpatchreview.json SOURCES ${patchreview_PART_SRCS})
target_link_libraries(kdevpatchreview KF5::IconThemes KF5::TextEditor KF5::Parts KDev::Interfaces KDev::Util KDev::Language KDev::Vcs KDev::Sublime ${LIBKOMPAREDIFF2_LIBRARIES})
if (KDEExperimentalPurpose_FOUND)
target_compile_definitions(kdevpatchreview PRIVATE WITH_PURPOSE)
target_link_libraries(kdevpatchreview KDEExperimental::PurposeWidgets)
endif()
-########### install files ###############
-
-install(FILES kdevpatchreview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevpatchreview)
diff --git a/plugins/patchreview/kdevpatchreview.qrc b/plugins/patchreview/kdevpatchreview.qrc
new file mode 100644
index 000000000..25c54e348
--- /dev/null
+++ b/plugins/patchreview/kdevpatchreview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevpatchreview.rc
+
+
diff --git a/plugins/problemreporter/CMakeLists.txt b/plugins/problemreporter/CMakeLists.txt
index dc9cb38b4..10afdb7b2 100644
--- a/plugins/problemreporter/CMakeLists.txt
+++ b/plugins/problemreporter/CMakeLists.txt
@@ -1,21 +1,18 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevproblemreporter\")
########### next target ###############
set(kdevproblemreporter_PART_SRCS
problemreporterplugin.cpp
problemtreeview.cpp
problemhighlighter.cpp
problemsview.cpp
problemnavigationcontext.cpp
problemreportermodel.cpp
)
+qt5_add_resources(kdevproblemreporter_PART_SRCS kdevproblemreporter.qrc)
kdevplatform_add_plugin(kdevproblemreporter JSON kdevproblemreporter.json SOURCES ${kdevproblemreporter_PART_SRCS})
target_link_libraries(kdevproblemreporter KF5::TextEditor KF5::Parts KDev::Language KDev::Interfaces KDev::Util KDev::Project KDev::Shell)
-########### install files ###############
-
-install(FILES kdevproblemreporter.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevproblemreporter)
-
add_subdirectory(tests)
diff --git a/plugins/problemreporter/kdevproblemreporter.qrc b/plugins/problemreporter/kdevproblemreporter.qrc
new file mode 100644
index 000000000..b40770f0a
--- /dev/null
+++ b/plugins/problemreporter/kdevproblemreporter.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevproblemreporter.rc
+
+
diff --git a/plugins/projectmanagerview/CMakeLists.txt b/plugins/projectmanagerview/CMakeLists.txt
index cd045e102..1b955b18e 100644
--- a/plugins/projectmanagerview/CMakeLists.txt
+++ b/plugins/projectmanagerview/CMakeLists.txt
@@ -1,27 +1,25 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevprojectmanagerview\")
########### next target ###############
set(kdevprojectmanagerview_PLUGIN_SRCS
projectmanagerviewplugin.cpp
projectmanagerview.cpp
projectmodelsaver.cpp
projecttreeview.cpp
projectbuildsetwidget.cpp
vcsoverlayproxymodel.cpp
projectmodelitemdelegate.cpp
)
ki18n_wrap_ui( kdevprojectmanagerview_PLUGIN_SRCS projectbuildsetwidget.ui projectmanagerview.ui )
+qt5_add_resources(kdevprojectmanagerview_PLUGIN_SRCS kdevprojectmanagerview.qrc)
kdevplatform_add_plugin(kdevprojectmanagerview JSON kdevprojectmanagerview.json SOURCES ${kdevprojectmanagerview_PLUGIN_SRCS})
target_link_libraries(kdevprojectmanagerview
KF5::TextEditor
KF5::ThreadWeaver
KDev::Interfaces KDev::Project KDev::Language KDev::Util KDev::Vcs KDev::Sublime )
-########### install files ###############
-
-install( FILES kdevprojectmanagerview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevprojectmanagerview )
diff --git a/plugins/projectmanagerview/kdevprojectmanagerview.qrc b/plugins/projectmanagerview/kdevprojectmanagerview.qrc
new file mode 100644
index 000000000..05370379a
--- /dev/null
+++ b/plugins/projectmanagerview/kdevprojectmanagerview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevprojectmanagerview.rc
+
+
diff --git a/plugins/quickopen/CMakeLists.txt b/plugins/quickopen/CMakeLists.txt
index 106a71218..e580751aa 100644
--- a/plugins/quickopen/CMakeLists.txt
+++ b/plugins/quickopen/CMakeLists.txt
@@ -1,32 +1,30 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevquickopen\")
add_subdirectory( tests )
########### next target ###############
set(kdevquickopen_PART_SRCS
quickopenplugin.cpp
quickopenmodel.cpp
projectfilequickopen.cpp
duchainitemquickopen.cpp
declarationlistquickopen.cpp
projectitemquickopen.cpp
documentationquickopenprovider.cpp
actionsquickopenprovider.cpp
expandingtree/expandingdelegate.cpp
expandingtree/expandingtree.cpp
expandingtree/expandingwidgetmodel.cpp
)
set (
kdevquickopen_UI
quickopen.ui
)
ki18n_wrap_ui(kdevquickopen_PART_SRCS ${kdevquickopen_UI})
+qt5_add_resources(kdevquickopen_PART_SRCS kdevquickopen.qrc)
kdevplatform_add_plugin(kdevquickopen JSON kdevquickopen.json SOURCES ${kdevquickopen_PART_SRCS})
target_link_libraries(kdevquickopen KF5::IconThemes KF5::GuiAddons KF5::TextEditor KDev::Language KDev::Interfaces KDev::Project KDev::Util)
-########### install files ###############
-
-install(FILES kdevquickopen.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevquickopen)
diff --git a/plugins/quickopen/kdevquickopen.qrc b/plugins/quickopen/kdevquickopen.qrc
new file mode 100644
index 000000000..cff5bac12
--- /dev/null
+++ b/plugins/quickopen/kdevquickopen.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevquickopen.rc
+
+
diff --git a/plugins/standardoutputview/CMakeLists.txt b/plugins/standardoutputview/CMakeLists.txt
index c93059d5b..485788c60 100644
--- a/plugins/standardoutputview/CMakeLists.txt
+++ b/plugins/standardoutputview/CMakeLists.txt
@@ -1,23 +1,22 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevstandardoutputview\")
add_subdirectory(tests)
########### next target ###############
set(standardoutputview_LIB_SRCS
standardoutputview.cpp
outputwidget.cpp
toolviewdata.cpp
standardoutputviewmetadata.cpp
)
+qt5_add_resources(standardoutputview_LIB_SRCS kdevstandardoutputview.qrc)
kdevplatform_add_plugin(kdevstandardoutputview JSON kdevstandardoutputview.json SOURCES ${standardoutputview_LIB_SRCS})
target_link_libraries(kdevstandardoutputview
KDev::Interfaces
KDev::Sublime
KDev::Util
KDev::OutputView
)
-install( FILES kdevstandardoutputview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevstandardoutputview )
-
diff --git a/plugins/standardoutputview/kdevstandardoutputview.qrc b/plugins/standardoutputview/kdevstandardoutputview.qrc
new file mode 100644
index 000000000..a1a16cee9
--- /dev/null
+++ b/plugins/standardoutputview/kdevstandardoutputview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevstandardoutputview.rc
+
+
diff --git a/plugins/switchtobuddy/CMakeLists.txt b/plugins/switchtobuddy/CMakeLists.txt
index c935ac1e5..3b430c08d 100644
--- a/plugins/switchtobuddy/CMakeLists.txt
+++ b/plugins/switchtobuddy/CMakeLists.txt
@@ -1,17 +1,16 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevswitchtobuddy\")
project(codeutils)
########### install target ###############
set(kdevswitchtobuddy_PART_SRCS
switchtobuddyplugin.cpp
)
+qt5_add_resources(kdevswitchtobuddy_PART_SRCS kdevswitchtobuddy.qrc)
kdevplatform_add_plugin(kdevswitchtobuddy JSON kdevswitchtobuddy.json SOURCES ${kdevswitchtobuddy_PART_SRCS})
target_link_libraries(kdevswitchtobuddy
KDev::Interfaces
KDev::Language
)
-
-install( FILES kdevswitchtobuddy.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevswitchtobuddy)
diff --git a/plugins/switchtobuddy/kdevswitchtobuddy.qrc b/plugins/switchtobuddy/kdevswitchtobuddy.qrc
new file mode 100644
index 000000000..48c26eab2
--- /dev/null
+++ b/plugins/switchtobuddy/kdevswitchtobuddy.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevswitchtobuddy.rc
+
+
diff --git a/plugins/testview/CMakeLists.txt b/plugins/testview/CMakeLists.txt
index 64ae615e3..bf7521e65 100644
--- a/plugins/testview/CMakeLists.txt
+++ b/plugins/testview/CMakeLists.txt
@@ -1,15 +1,12 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevtestview\")
########### next target ###############
set(kdevtestview_PLUGIN_SRCS
testview.cpp
testviewplugin.cpp
testviewdebug.cpp
)
+qt5_add_resources(kdevtestview_PLUGIN_SRCS kdevtestview.qrc)
kdevplatform_add_plugin(kdevtestview JSON kdevtestview.json SOURCES ${kdevtestview_PLUGIN_SRCS})
target_link_libraries(kdevtestview KF5::ItemModels KDev::Interfaces KDev::Util KDev::Language)
-
-########### install files ###############
-
-install( FILES kdevtestview.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevtestview )
diff --git a/plugins/testview/kdevtestview.qrc b/plugins/testview/kdevtestview.qrc
new file mode 100644
index 000000000..f59b00a4f
--- /dev/null
+++ b/plugins/testview/kdevtestview.qrc
@@ -0,0 +1,6 @@
+
+
+
+ kdevtestview.rc
+
+
diff --git a/shell/CMakeLists.txt b/shell/CMakeLists.txt
index baf7a3f14..83d4db02f 100644
--- a/shell/CMakeLists.txt
+++ b/shell/CMakeLists.txt
@@ -1,178 +1,176 @@
add_definitions(-DTRANSLATION_DOMAIN=\"kdevplatform\")
add_subdirectory(tests)
set(KDevPlatformShell_LIB_SRCS
workingsetcontroller.cpp
workingsets/workingset.cpp
workingsets/workingsetfilelabel.cpp
workingsets/workingsettoolbutton.cpp
workingsets/workingsettooltipwidget.cpp
workingsets/workingsetwidget.cpp
workingsets/closedworkingsetswidget.cpp
workingsets/workingsethelpers.cpp
assistantpopup.cpp
mainwindow.cpp
mainwindow_p.cpp
plugincontroller.cpp
ktexteditorpluginintegration.cpp
shellextension.cpp
core.cpp
uicontroller.cpp
projectcontroller.cpp
project.cpp
partcontroller.cpp
#document.cpp
partdocument.cpp
textdocument.cpp
documentcontroller.cpp
languagecontroller.cpp
statusbar.cpp
runcontroller.cpp
sessioncontroller.cpp
session.cpp
sessionlock.cpp
sessionchooserdialog.cpp
savedialog.cpp
sessiondialog.cpp
sourceformattercontroller.cpp
completionsettings.cpp
openprojectpage.cpp
openprojectdialog.cpp
projectinfopage.cpp
selectioncontroller.cpp
documentationcontroller.cpp
debugcontroller.cpp
launchconfiguration.cpp
launchconfigurationdialog.cpp
loadedpluginsdialog.cpp
testcontroller.cpp
projectsourcepage.cpp
debug.cpp
configdialog.cpp
editorconfigpage.cpp
environmentconfigurebutton.cpp
checkerstatus.cpp
problem.cpp
problemmodelset.cpp
problemmodel.cpp
problemstore.cpp
watcheddocumentset.cpp
filteredproblemstore.cpp
progresswidget/progressmanager.cpp
progresswidget/statusbarprogresswidget.cpp
progresswidget/overlaywidget.cpp
progresswidget/progressdialog.cpp
areadisplay.cpp
settings/uipreferences.cpp
settings/pluginpreferences.cpp
settings/sourceformattersettings.cpp
settings/editstyledialog.cpp
settings/projectpreferences.cpp
settings/environmentwidget.cpp
settings/environmentgroupmodel.cpp
settings/environmentpreferences.cpp
settings/languagepreferences.cpp
settings/bgpreferences.cpp
settings/templateconfig.cpp
settings/templatepage.cpp
)
kconfig_add_kcfg_files(KDevPlatformShell_LIB_SRCS
settings/uiconfig.kcfgc
settings/projectconfig.kcfgc
settings/languageconfig.kcfgc
settings/bgconfig.kcfgc
)
ki18n_wrap_ui(KDevPlatformShell_LIB_SRCS
sessiondialog.ui
projectinfopage.ui
launchconfigurationdialog.ui
projectsourcepage.ui
settings/uiconfig.ui
settings/editstyledialog.ui
settings/sourceformattersettings.ui
settings/projectpreferences.ui
settings/environmentwidget.ui
settings/languagepreferences.ui
settings/bgpreferences.ui
settings/templateconfig.ui
settings/templatepage.ui
)
+qt5_add_resources(KDevPlatformShell_LIB_SRCS kdevplatformshell.qrc)
kdevplatform_add_library(KDevPlatformShell SOURCES ${KDevPlatformShell_LIB_SRCS})
target_link_libraries(KDevPlatformShell
LINK_PUBLIC
KF5::XmlGui
KDev::Sublime
KDev::OutputView
KDev::Interfaces
LINK_PRIVATE
Qt5::Quick
Qt5::QuickWidgets
KF5::GuiAddons
KF5::IconThemes
KF5::KIOFileWidgets
KF5::KIOWidgets
KF5::Parts
KF5::Notifications
KF5::NotifyConfig
KF5::TextEditor
KF5::ThreadWeaver
KF5::JobWidgets
KF5::ItemViews
KF5::WindowSystem
KF5::KCMUtils #for KPluginSelector, not sure why it is in kcmutils
KF5::NewStuff # template config page
KF5::Archive # template config page
KDev::Debugger
KDev::Project
KDev::Vcs
KDev::Language
KDev::Util
KDev::Documentation
)
install(FILES
mainwindow.h
plugincontroller.h
shellextension.h
core.h
uicontroller.h
projectcontroller.h
project.h
partcontroller.h
partdocument.h
textdocument.h
documentcontroller.h
languagecontroller.h
session.h
sessioncontroller.h
sessionlock.h
sourceformattercontroller.h
selectioncontroller.h
runcontroller.h
launchconfiguration.h
environmentconfigurebutton.h
checkerstatus.h
problem.h
problemmodel.h
problemmodelset.h
problemconstants.h
filteredproblemstore.h
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kdevplatform/shell COMPONENT Devel
)
-install( FILES debugger/kdevdebuggershellui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevdebugger )
-install( FILES kdevsessionui.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevsession )
-install( FILES kdevsourceformatter.rc DESTINATION ${KDE_INSTALL_KXMLGUI5DIR}/kdevsourceformatter )
install( FILES AssistantButton.qml assistantpopup.qml DESTINATION ${KDE_INSTALL_DATADIR}/kdevelop )
diff --git a/shell/kdevplatformshell.qrc b/shell/kdevplatformshell.qrc
new file mode 100644
index 000000000..4b75ba1d3
--- /dev/null
+++ b/shell/kdevplatformshell.qrc
@@ -0,0 +1,12 @@
+
+
+
+ kdevsessionui.rc
+
+
+ kdevsourceformatter.rc
+
+
+ debugger/kdevdebuggershellui.rc
+
+