I have 2 kde. For the first user:kde-3.5.10, and for the second is kde-4.2.0. I want to use my blog and I decided to "emerge"ing kde-misc/kblogger-07_beta3. And during installation I got the error. Reproducible: Always Actual Results: kbloggerconfig.cpp:7:24: error: QtCore/QFile: No such file or directory kbloggerconfig.cpp:16: error: 's_globalKBloggerConfig' has not been declared kbloggerconfig.cpp:17: error: expected constructor, destructor, or type conversion before 'KBloggerConfig' kbloggerconfig.cpp: In constructor 'KBloggerConfig::KBloggerConfig()': kbloggerconfig.cpp:28: error: 'QLatin1String' was not declared in this scope kbloggerconfig.cpp:30: error: 's_globalKBloggerConfig' was not declared in this scope kbloggerconfig.cpp: In destructor 'virtual KBloggerConfig::~KBloggerConfig()': kbloggerconfig.cpp:56: error: 's_globalKBloggerConfig' was not declared in this scope make[2]: *** [kbloggerconfig.lo] Error 1
Created attachment 183712 [details] emerge --info
I have the same issue. I get the same problem with 0.6.5 and 0.7_beta2, too. However, while messing around with the ebuild in a local, I found that adding need-kde 3.5 to the ebuild solved this.
Created attachment 193705 [details, diff] Patch inserting the missing 'need-kde' statement into the ebuild Adding a patch that performs the small change mentioned above :)