Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
| 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. |
|
 |
03-01-2002, 07:28 PM
|
#1
|
|
LQ Newbie
Registered: Mar 2002
Location: Brooklyn, NY, US
Distribution: SuSE 9.3
Posts: 4
Rep:
|
qt-libs not found
Hi!
I have a problem with the qt-libs when I try to configure makefiles
that requires qt, the following is output from a configure script:
checking for Qt... configure: error: Qt (>= Qt 2.2.2)
(library qt) not found. Please check your installation!
I'm using Mandrake 8.2 Beta3.
|
|
|
|
03-12-2002, 12:03 PM
|
#2
|
|
LQ Newbie
Registered: Mar 2002
Location: Zimbabwe
Distribution: Slackware 8.0
Posts: 3
Rep:
|
The qt library/toolkit does not vome standard with most distributions. I do not know whether Mandrake bundles it. From the error message it appears that you do not have qt installed. I suggest you visit:
www.trolltech.com/developer/download/qt-x11.html
for a free edition (provided under GPL) of qt. Hope this solves your problem. Have a good day.
|
|
|
|
03-15-2002, 12:16 AM
|
#3
|
|
LQ Newbie
Registered: Mar 2002
Posts: 6
Rep:
|
qt is installed /usr/lib/qt3 or qt2 ... set your QTDIR path to this one.
|
|
|
|
05-02-2003, 10:02 AM
|
#4
|
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
how would I go about changing the QTDIR path?
|
|
|
|
05-03-2003, 07:58 AM
|
#5
|
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530
Rep: 
|
In some distro's the QTDIR is already set, and you should be OK.
In other distro's this isn't done (Debian for example).
You can set it yourself by first finding out where Qt is installed (look at the directories Rohit's mentiones, or for Debian it's /usr/share/qt). Then set QTDIR to this directory with:
export QTDIR=/usr/share/qt
And then try running ./configure && make again.
|
|
|
|
05-04-2003, 11:30 AM
|
#6
|
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
but would setting QTDIR to find the qt2 libraries prevent qt3 programs from running?
|
|
|
|
05-04-2003, 05:20 PM
|
#7
|
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530
Rep: 
|
No.
It's only needed when you compile the program. When you exit the shell the QTDIR environment variable is lost anyway, thus undoing all of it's effect.
Except for the executable that you configured/compiled with the QTDIR set, which will "remember" where to find the Qt2 lib's.
Last edited by Hko; 05-04-2003 at 05:22 PM.
|
|
|
|
05-06-2003, 10:20 AM
|
#8
|
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
I found the qt2 libraries under /usr/lib/qt2/lib
I entered export QTDIR=/usr/lib/qt2/lib
I switched to the directory where I have the program, and entered ./configure
Same error. I guess I have the wrong Qt.
These are the files in the qt2 directory:
libqt-mt.so.2 libqt.so.2 libqutil.so.1
libqt-mt.so.2.3 libqt.so.2.3 libqutil.so.1.0
libqt-mt.so.2.3.1 libqt.so.2.3.1 libqutil.so.1.0.0
|
|
|
|
05-07-2003, 06:18 PM
|
#9
|
|
Senior Member
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: ubuntu
Posts: 2,530
Rep: 
|
Try:
Code:
export QTDIR=/usr/lib/qt2
(without "/lib")
|
|
|
|
09-11-2003, 03:47 PM
|
#10
|
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
that didn't work either. i can't say i'm a big fan of Qt.
|
|
|
|
09-11-2003, 07:36 PM
|
#11
|
|
LQ Newbie
Registered: Sep 2003
Posts: 13
Rep:
|
Make sure that the QTDIR path is activated after you added
QTDIR=/usr/lib/qt3
export $QTDIR
to the .bashrc file in your home directory. To check that you do indeed have a QTDIR environment variable type
echo $QTDIR
You should then see
/usr/lib/qt3
The .bashrc file is read when you open a new shell, so when you open a new shell the QTDIR will be set. If you log out of KDE and inn again and type
echo $QTDIR
you will also see that the QTDIR env. var is set.
Good luck.
|
|
|
|
11-22-2003, 12:12 PM
|
#12
|
|
LQ Newbie
Registered: Nov 2003
Location: Seattle
Distribution: SuSE 9
Posts: 1
Rep:
|
QT Libs not found
I'm getting the same problems, but in SuSE 9. have you found an answer yet?
|
|
|
|
11-24-2003, 03:17 PM
|
#13
|
|
Member
Registered: Feb 2003
Location: huntsville, al
Distribution: debian, opensolaris
Posts: 99
Rep:
|
I was told that I needed to install the Qt Development Libraries (qt-devel, I think) in order to compile any application that uses Qt. I haven't had time to mess with it though. You might try to download and install those, then try to compile the application again.
|
|
|
|
| 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 12:35 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
|
|