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.
I can't compile several applications on my 11.2 x64 installation. Configure script returns something like:
"checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found. Please check your installation!"
qt3, qt3-devel, qt3-32bit, qt3-devel-32bit packages installed. If I ran ./configure with --enable-libsuffix=64 it's done without troubles:
"checking for Qt... libraries /usr/lib/qt3/lib64, headers /usr/lib/qt3/include using -mt"
But then make returns error:
".../usr/lib/qt3/include/qrect.h:53: error: variable ‘Q_EXPORT QRect’ has initializer but incomplete type
/usr/lib/qt3/include/qrect.h:53: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x
/usr/lib/qt3/include/qrect.h:55: error: expected primary-expression before ‘public’
/usr/lib/qt3/include/qrect.h:55: error: expected ‘}’ before ‘public’
/usr/lib/qt3/include/qrect.h:55: error: expected ‘,’ or ‘;’ before ‘public’
/usr/lib/qt3/include/qrect.h:57: error: expected constructor, destructor, or type conversion before ‘;’ token
/usr/lib/qt3/include/qrect.h:58: error: expected constructor, destructor, or type conversion before ‘;’ token ..." (and so on).
Maybe you can check out the -std=c++0x or -std=gnu++0x options?
First read up on what they do/mean, then pick either one and pass it as a compiler option to make.
evo2, you are right, Q_EXPORT isn't set. could you please explain me what value Q_EXPORT should contain? I tried to google it but still can't understand.
evo2, you are right, Q_EXPORT isn't set. could you please explain me what value Q_EXPORT should contain? I tried to google it but still can't understand.
Sorry, I don't know. I was just going by the message returned by the compiler.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.