LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 01-18-2005, 11:46 AM   #1
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Rep: Reputation: 32
How to install QT on fedora?


Whenever I try to ./configure software, I get the message:
checking for Qt... configure: error: Qt (>= Qt 3.0) (headers and libraries) notfound. Please check your installation!

So I downloaded qt-3.3.3-0.2.src.rpm but when I click it it just opens like a zip would on windows (yes, Iīm a newbie-ex-windoz user). I currently have qt version 1.something installed. I just spent over two hours on google trying to figure this out, and came to the conclusion that there could be problems with version 3.* replaceing 1.*. So my questions are:
1) How do I install it?!?
2) Is it likely that there will be problem afterward?
3) Is there an alternative that will not be as likely to be problematic?

Thanks.

By the way, in APT I do not see an update for my qt 1.* and that also akes me suspect the stability of 3.*.

Dotan Cohen
http://HardToFindLyrics.com
 
Old 01-18-2005, 12:21 PM   #2
sasho
Member
 
Registered: Jan 2005
Distribution: Arch
Posts: 120

Rep: Reputation: 17
First, see that you have the qt libraries inlstalled (most likely you do have it installed):
ls /usr/lib/

It should contain a qt or a qt3 directory, or something similar. You have version 3 or above, version 1 is really, really old...

Or, test with using rpm:
rpm -q qt3

If it is missing (unlikely), install the qt package.
Then, install the qt3-devel package (apt or whatever you use).

Compile your app.
 
Old 01-18-2005, 12:27 PM   #3
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
hey u have QT package 3.3 bundled with ur FC3

lookout for the QT rpm in ur CD

or go to add-remove packages and there choose to install QT in the programming section

regards
 
Old 01-18-2005, 03:08 PM   #4
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
Sasho,
You are right I do have /usr/lib/qt-3.3 but when I rpm -q qt3 I get:
warning: cannot get shared lock on /var/lib/rpm/Packages
package qt3 is not installed

I just installed qt-devel with Synaptic and tried to ./configure again, same problem.

Masand,
I couldnīt find the qt package in Add/Remove programs (there is no programming section), but that is unnecessary because, well, it is installed! But not working...

Where to go from here? Why should ./configure think that qt >=3.2 is not installed when I do have 3.3? As I have found no advise on google, am I to assume that I am the only person with this problem?

Dotan
 
Old 01-18-2005, 04:34 PM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
type this in a console/xterm:
Code:
echo $QTDIR
and see if you get any output (it should print /usr/lib/qt-3.3)
if not then:
Code:
export QTDIR=/usr/lib/qt-3.3

Also, make sure /usr/lib/qt-3.3/lib is entered into /etc/ld.so.conf and run ldconfig
 
Old 01-18-2005, 11:18 PM   #6
sasho
Member
 
Registered: Jan 2005
Distribution: Arch
Posts: 120

Rep: Reputation: 17
Code:
export QTDIR=/usr/lib/qt-3.3
export PATH=PATH:$QTDIR/bin
Good point __J, I forgot about those.

dotancohen, now that you have the devel package installed, maybe you can post the error you are getting during ./configure?
 
Old 01-19-2005, 02:49 AM   #7
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
this is a tempoprary solution
if it works

for future use
add ur library path in

/etc/ld.so.conf

regards
 
Old 01-19-2005, 10:38 AM   #8
sasho
Member
 
Registered: Jan 2005
Distribution: Arch
Posts: 120

Rep: Reputation: 17
Quote:
this is a tempoprary solution
if it works
Quite a few qt-based programs are looking for the QTDIR variable. Also, modifying ld.so.conf will not put qmake in your path (if it isn't there already).
 
Old 01-19-2005, 10:41 AM   #9
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
i think that will also look in to the directories specified in /etc/ld.so.conf even if it is not in ur path

regards
 
Old 01-24-2005, 12:17 PM   #10
dotancohen
Member
 
Registered: Dec 2004
Location: Haifa
Distribution: Fedora Core 4, Kubuntu
Posts: 235

Original Poster
Rep: Reputation: 32
Thanks for everybodys help. I found out that I do have a current version of QT installed. For the archives, the whole story is available here:

http://www.linuxquestions.org/questi...hreadid=279404

Dotan Cohen
 
Old 01-24-2005, 01:41 PM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
QTDIR is not a temporary solution, as it is part of the install process for qt atleast according to trolltech:

http://www.trolltech.com/developer/platforms/linux.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Install Winxp After Install Linux(fedora 4) ngoclinux General 8 12-02-2005 08:40 PM
Fedora Core 3 install screwed up my Windows XP install MichaelD Fedora - Installation 6 06-10-2005 02:54 PM
After install - no Fedora! shortblock Linux - Newbie 4 02-18-2005 08:01 AM
Fedora Core 2 Install failing during package install Sledge Fedora - Installation 1 06-02-2004 09:23 AM
cannot install fedora fatcatis Fedora - Installation 1 05-10-2004 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration