QT error when trying to use ./configure. (was: What is my QT version ?)
Everyone seems to know what their QT version is. How do you people do that ?
What is the official way of checking for versions of something such as QT ? Also when I try to instal (compile) a theme from kde-look.org the "./configure" command fails with an error: Code:
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found Any ideas ? Many thanks P.S. I am running KDE 3.1.5 |
"Everyone seems to know what their QT version is. How do you people do that ?"
If you are using a rpm based distribution then try: rpm -qi qt Also you can look for /use/share/doc/qt* and the directory name should contain the version number. "checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found" You may not have the corresponding qt-devel installed. ___________________________________ Be prepared. Create a LifeBoat CD. http://users.rcn.com/srstites/LifeBo...home.page.html Steve Stites |
I am running Knoppix/Debian....
....as I am checking the directories it seems that there are two: /usr/share/qt /usr/share/qt3 Quote:
Does this mean that my QT is broken? It is my understanding that QT comes as part of KDE (and these two go hand in hand). Should I be worried? What would be the right steps to make sure QT is in tact and in harmony with KDE ? Please go easy.... I am a newbie. Thanks |
I just means that you don't have qt3-devel installed. It's a separate package that is needed for compiling qt applications, but it's not necessary to run the base system.
|
Ok I found a way to check the QT version.
...so this is what is installed right now: Code:
root@ThisKnoppixBox:/# dpkg -l | grep qt |
It looks like it's already installed...qt3 header files and Qt3 development tools?
Try "env | grep QTDIR" ....does anything come up? |
Quote:
Code:
root@ThisKnoppixBox:/# env | grep QTDIR However, the package still fails to compile: "checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) not found" |
UPDATE:
Did "apt-get instal libqt-dev" The QT package list now looks like this: Code:
ii gtk-engines-qt 0.26-1 QtPixmap GTK1.x theming engine "checking for Qt... configure: error: Qt (>= Qt 3.0) (library qt-mt) not found" If I reinstall KDE from scratch is this going to be resolved ? If so, what is the cleanest way of re-installing KDE ? |
UPDATE:
I did "apt-get" for every qt3 package listed in the Debian page. There was a point where "apt" decided to remove the whole KDE (I think because there were like 100 packages in the remove list) Then I reinstalled KDE with "apt-get install KDE" Now the QT seems resolved. The compiler no longer complains about QT. |
All times are GMT -5. The time now is 02:32 PM. |