Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-06-2010, 09:20 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 17
Rep:
|
Can't compile because of qt-mt lib
Hello,
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).
Any advice?
Many thx in advance.
|
|
|
|
06-07-2010, 02:39 AM
|
#2
|
|
Senior Member
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515
Rep:
|
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.
|
|
|
|
06-07-2010, 03:09 AM
|
#3
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,600
|
It looks like Q_EXPORT has not been defined. You probably need to #include some other header before qrect.h
Evo2.
|
|
|
|
06-09-2010, 05:58 AM
|
#4
|
|
LQ Newbie
Registered: Jun 2010
Posts: 17
Original Poster
Rep:
|
Thank a lot for replies.
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.
Thx in advance.
|
|
|
|
06-10-2010, 01:05 AM
|
#5
|
|
Senior Member
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 3,600
|
Quote:
Originally Posted by tovarish
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.
You could try looking in the various qt headers.
Evo2.
|
|
|
|
06-10-2010, 03:24 AM
|
#6
|
|
Member
Registered: Mar 2010
Distribution: Debian
Posts: 175
Rep:
|
qt-mt is for multi-threaded support. Do you have libqt-mt and it's headers installed?
|
|
|
|
06-10-2010, 11:21 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2010
Posts: 17
Original Poster
Rep:
|
Quote:
Originally Posted by alan99
qt-mt is for multi-threaded support. Do you have libqt-mt and it's headers installed?
|
Sorry, what is libqt-mt? I can't find it even with http://rpm.pbone.net/.
|
|
|
|
06-11-2010, 02:31 AM
|
#8
|
|
Member
Registered: Mar 2010
Distribution: Debian
Posts: 175
Rep:
|
It is in the Debian distribution. I don't know where you could find a rpm for your distribution.
|
|
|
|
06-12-2010, 05:39 PM
|
#9
|
|
LQ Newbie
Registered: Jun 2010
Posts: 17
Original Poster
Rep:
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:58 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|