ProgrammingThis 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.
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.
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:
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:
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.
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.