Commit fcbae4cb authored by David Edmundson's avatar David Edmundson

Drop kdeinit

Summary: It's not used in any of the plasma paths that launch it

Test Plan: Compiles

Reviewers: apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26838
parent 3a92a573
......@@ -33,7 +33,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
ItemViews
Sonnet
DocTools
Init
GlobalAccel
)
......@@ -58,10 +57,10 @@ ecm_qt_declare_logging_category(kmenueditcommon_STAT_SRCS HEADER kmenuedit_debug
set(kmenuedit_KDEINIT_SRCS main.cpp ${kmenueditcommon_STAT_SRCS})
kf5_add_kdeinit_executable( kmenuedit ${kmenuedit_KDEINIT_SRCS})
target_compile_definitions(kdeinit_kmenuedit PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
add_executable( kmenuedit ${kmenuedit_KDEINIT_SRCS})
target_compile_definitions(kmenuedit PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
target_link_libraries(kdeinit_kmenuedit
target_link_libraries(kmenuedit
Qt5::DBus
Qt5::Xml
KF5::DBusAddons
......@@ -80,9 +79,6 @@ target_link_libraries(kdeinit_kmenuedit
file(GLOB_RECURSE ALL_CLANG_FORMAT_SOURCE_FILES *.cpp *.h)
kde_clang_format(${ALL_CLANG_FORMAT_SOURCE_FILES})
install(TARGETS kdeinit_kmenuedit DESTINATION ${KDE_INSTALL_LIBDIR} )
target_link_libraries( kmenuedit kdeinit_kmenuedit )
install(TARGETS kmenuedit ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
......
......@@ -45,7 +45,7 @@ public:
}
};
extern "C" int Q_DECL_EXPORT kdemain(int argc, char **argv)
int main(int argc, char **argv)
{
KMenuApplication app(argc, argv);
Kdelibs4ConfigMigrator migrate(QStringLiteral("kmenuedit"));
......
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