Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
After upgrading to Qt 4 (I meant to install KDE 4, but I didn't), some KDE packages and applications (such as kdesdk and kaffeine) can't compile anymore. I always get errors like:
Code:
kaffeinepart.moc:12:2: #error "The header file 'kaffeinepart.h' doesn't include <QObject>."
In file included from kaffeinepart.cpp:23:
kaffeinepart.moc:73: error: `const QMetaObject KaffeinePart::staticMetaObject' is not a static member of `class KaffeinePart'
kaffeinepart.moc:73: error: variable `const QMetaObject KaffeinePart::staticMetaObject' has initializer but incomplete type
kaffeinepart.moc:79: error: prototype for `const QMetaObject* KaffeinePart::metaObject() const' does not match any in class `KaffeinePart'
kaffeinepart.h:40: error: candidate is: virtual QMetaObject* KaffeinePart::metaObject() const
...
The bold part is common to both kdesdk and kaffeine (except for the header file name) and the rest is similar (if not the same) too.
which gcc are you using. you have to be careful when using prebuilt qt. if you compiled the qt then I am lost.if you use a pre built qt4 that was compiled with a 4.2 gcc and your systym is a 3.4.6 gcc kde will not compile.
I solved the problem by uninstalli qt4 and reinstalling qt3.
Anyway, if I ever wanted to switch to KDE 4 and Qt 4, I would like to know how to install those applications. So,if anybody knows what the cause of my problem might be, please let me know :-)
I also had this problem when changing to X11 7 but at xorg the trouble shoot said there was some typo erroes in the lib. libxrender libXrender not the capital x after finging this and making the correct symlinks all is well. this happenend with my upgrade qt and X11. I new the correct libraries were there just spelt wrong think we call that a bug lol good luck
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.