LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is QT (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-qt-237411/)

Xos 09-30-2004 11:47 PM

Similar Problem
 
I have Qt 3.3.3 installed. I have the same, or a very similar, problem.

..My results for what you asked were..

Xos@linux:~> cd /usr/lib/qt3
Xos@linux:/usr/lib/qt3> tree -d
.
|-- bin
|-- etc
| `-- settings -> /etc/X11
|-- lib
|-- plugins
| |-- imageformats
| `-- sqldrivers
`-- translations

8 directories

..The error message I am receiving is..

checking for Qt... configure: error: Qt (>= Qt 3.1 (20021021)) (headers and libraries) not found. Please check your installation!

..I am also new to Linux, but this seems to indicate that the configure command does not properly direct the install to find qt3. Is there some kind of command to prefix to the configure command that would point it to my Qt 3.3.3?

rjlee 10-01-2004 04:12 AM

Qt is a toolkit widget used in the KDE environment and stand-alone programs. Search for it on freshmeat.net

To answer the question, you can say ./configure --with-qt=/usr/lib/qt

But that's not likely to be the problem here. You should have a directory called /usr/lib/qt/include (or possibly /usr/include/qt/) holding the Qt's header files in order to compile software against Qt. This is usually provided by the qt-devel package, which you may need to install.

Xos 10-01-2004 11:25 PM

I didn't start this thread.
This was my reply to a different topic and was moved from elsewhere.
I know what Qt is. Thanks for the help though.
I will track down the development package and see if installing it helps. :]

Xos 10-01-2004 11:36 PM

I installed the development package and all its required dependencies. I tried the code you suggested. I am still getting the same error message.
Thanks anyway, I appreciate that you tried to help.

Tinkster 10-01-2004 11:59 PM

Well ... since you're using SuSE 9.1 and 3.3.3
is rather new... how did you install the new version,
did you uninstall the old RPM?

As for the "Not your thread". I did indeed split your
message out of the other thread since they are
completely unrelated, and thread-hijacking is a
no-no in netiquette.



Cheers,
Tink

Xos 10-02-2004 05:09 AM

I don't object to that. I was just confused. You have the right to do whatever you like as a moderator. Although, I don't agree that identical error messages from the same cause and with the same result are "completely unrelated". The only thing different was what version of Qt we are using and that I know what it is. Whatever the other guy's problem was, regardless of version, is very likely to be directly related to mine. That is why I thought I would help him get his answer in the same place rather than reposting an almost identical question elsewhere. Again, if you disagree, that is your prerogative. Although, whatever this "netiquette" is might have suggested that you explain my error to me when you moved my comment.

I installed SuSE 9.1 from cd. I had previously had 8.2, also from cd.
This is the first time I've had this particular problem. After I started having this same problem with Qt 3.2, I upgraded to 3.3.3 from source. I was not aware that you should uninstall the previous version before upgrading. If I had done that it would have given me dependency problems if I hadn't properly installed the upgrade, which I would have been hesitant to risk. I really don't know a lot about these things. After rjlee suggested it, I went to the only place that I could find any kind of qt-devel package (Trolltech) and installed the latest version. I am guessing that could have not been made for SuSE 9.1, but I took a chance that it might not matter what distribution I have. Whatever I haven't done right.. it still doesn't work.

Sorry for any inconveniences, or slights to protocol, and thanks for taking a look.


All times are GMT -5. The time now is 10:33 PM.