1 2 3
#include <kdemacros.h> extern "C" int kdemain(int argc, char* argv[]); extern "C" KDE_EXPORT int kdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }