Commit 15d375fe authored by David Edmundson's avatar David Edmundson

[kcmshell] Drop kdeinit

Summary: See thread T12140

Test Plan: Compiles

Reviewers: #plasma, apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26836
parent 07f0730f
......@@ -41,7 +41,6 @@ find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS
Config
DocTools
IconThemes
Init
I18n
KCMUtils
KIO
......
set(kcmshell_KDEINIT_SRCS main.cpp )
kf5_add_kdeinit_executable( kcmshell5 ${kcmshell_KDEINIT_SRCS})
target_compile_definitions(kdeinit_kcmshell5 PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
add_executable(kcmshell5 ${kcmshell_KDEINIT_SRCS})
target_compile_definitions(kcmshell5 PRIVATE -DPROJECT_VERSION="${PROJECT_VERSION}")
ecm_mark_nongui_executable(kcmshell5)
target_link_libraries(kdeinit_kcmshell5
target_link_libraries(kcmshell5
Qt5::DBus
KF5::KCMUtils
KF5::I18n
......@@ -15,5 +15,4 @@ target_link_libraries(kdeinit_kcmshell5
PW::KWorkspace
)
install(TARGETS kdeinit_kcmshell5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
install(TARGETS kcmshell5 ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
......@@ -176,7 +176,7 @@ void KCMShell::appExit(const QString &appId, const QString &oldName, const QStri
}
}
extern "C" Q_DECL_EXPORT int kdemain(int _argc, char *_argv[])
int main(int _argc, char *_argv[])
{
const bool qpaVariable = qEnvironmentVariableIsSet("QT_QPA_PLATFORM");
KWorkSpace::detectPlatform(_argc, _argv);
......
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