Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 5

Qt-interest Archive, November 2007
problem using qt3.3 in fedora 5


Message 1 in thread

I am having trouble using qt 3.3 in FC5.
Although qt 3.3 is installed, but when I want to install a library for my work, it says that "can't find -lqt-mt".

I have to say, I reduce the version of GCC from 4.1 (default in FC5) to 3.3 for my work. Does it have any effect?
 
Mahmood NT


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

Message 2 in thread

>I am having trouble using qt 3.3 in FC5.
>Although qt 3.3 is installed, but when I want to install a library for my work, it says that "can't find -lqt-mt".
 
>I have to say, I reduce the version of GCC from 4.1 (default in FC5) to 3.3 for my work. Does it have >any effect?


No idea???........

 
Mahmood NT



----- Original Message ----
From: Mahmood NT <nt_mahmood@xxxxxxxxx>
To: QT mailing list <qt-interest@xxxxxxxxxxxxx>
Sent: Wednesday, November 28, 2007 6:22:53 PM
Subject: problem using qt3.3 in fedora 5


I am having trouble using qt 3.3 in FC5.
Although qt 3.3 is installed, but when I want to install a library for my work, it says that "can't find -lqt-mt".
 
I have to say, I reduce the version of GCC from 4.1 (default in FC5) to 3.3 for my work. Does it have any effect?
 
Mahmood NT



Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See how.


      ____________________________________________________________________________________
Get easy, one-click access to your favorites. 
Make Yahoo! your homepage.
http://www.yahoo.com/r/hs 

Message 3 in thread

Mahmood NT wrote:

Hello Mahmood,

please send email as plain text, html email is really annoying and many
people automatically filter it out, which might explain the lack of
answers.

>>I am having trouble using qt 3.3 in FC5.
>>Although qt 3.3 is installed, but when I want to install a library for my
>> work, it says that "can't find -lqt-mt".

What do you mean with "install"? Compile from source? Install an rpm?

It it fails it can be for various reasons:

 - QT_DIR points to the wrong, i.e. a qt4 installation
 - You compiled qt 3.3. without thread support and it might interfere with
your installation
 - You do not have the development rpms for qt 3.3.x installed
 - for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker
can't find it.

>>I have to say, I reduce the version of GCC from 4.1 (default in FC5) to
>> 3.3 for my work. Does it have >any effect?
>

The qt version is independent of the compiler version. Qt 3.3.8 compiles
fine with gcc 4.1.2 on my FC7 box.

>
> No idea???........
>
>

Cheers,

Michael

> Mahmood NT
>
>
>
> ----- Original Message ----
> From: Mahmood NT <nt_mahmood@xxxxxxxxx>
> To: QT mailing list <qt-interest@xxxxxxxxxxxxx>
> Sent: Wednesday, November 28, 2007 6:22:53 PM
> Subject: problem using qt3.3 in fedora 5
>
>
> I am having trouble using qt 3.3 in FC5.
> Although qt 3.3 is installed, but when I want to install a library for my
> work, it says that "can't find -lqt-mt".
>
> I have to say, I reduce the version of GCC from 4.1 (default in FC5) to
> 3.3 for my work. Does it have any effect?
>
> Mahmood NT
>
>
>
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
>
>
>       ____________________________________________________________________________________
> Get easy, one-click access to your favorites.
> Make Yahoo! your homepage.
> http://www.yahoo.com/r/hs


--
 [ signature omitted ] 

Message 4 in thread

On Thursday 29 November 2007 12:34:36 Mahmood NT wrote:
> >I am having trouble using qt 3.3 in FC5.
> >Although qt 3.3 is installed, but when I want to install a library for my
> > work, it says that "can't find -lqt-mt".
>
> Â
>
> >I have to say, I reduce the version of GCC from 4.1 (default in FC5) to
> > 3.3 for my work. Does it have >any effect?
>
> No idea???........

Qt isn't installed. Install it.

-- 
 [ signature omitted ] 

Attachment: signature.asc
Description: This is a digitally signed message part.


Message 5 in thread

>please send email as plain text, html email is really annoying and many
>people automatically filter it out, which might explain the lack of
>answers.
How? I am new in mailing list, and I use my yahoo email account for composing messages and send it to qt-interest. You mean another way? Thanks,


>What do you mean with "install"? Compile from source? Install an rpm?
I check QT packages to install them when I installed fedora (setup).


>for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker can't find it.
I think this is the case, How do I resolve it? Thanks,


>Qt isn't installed. Install it.
aaccording to "rpm -qa | grep qt", it is installed.


Regards,
 
Mahmood NT



----- Original Message ----
From: Michael Abshoff <Michael.Abshoff@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: QT mailing list <qt-interest@xxxxxxxxxxxxx>
Cc: Mahmood NT <nt_mahmood@xxxxxxxxx>
Sent: Thursday, November 29, 2007 3:27:06 PM
Subject: Re: problem using qt3.3 in fedora 5

Mahmood NT wrote:

Hello Mahmood,

please send email as plain text, html email is really annoying and many
people automatically filter it out, which might explain the lack of
answers.

>>I am having trouble using qt 3.3 in FC5.
>>Although qt 3.3 is installed, but when I want to install a library for my
>> work, it says that "can't find -lqt-mt".

What do you mean with "install"? Compile from source? Install an rpm?

It it fails it can be for various reasons:

- QT_DIR points to the wrong, i.e. a qt4 installation
- You compiled qt 3.3. without thread support and it might interfere with
your installation
- You do not have the development rpms for qt 3.3.x installed
- for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker
can't find it.

>>I have to say, I reduce the version of GCC from 4.1 (default in FC5) to
>> 3.3 for my work. Does it have >any effect?
>

The qt version is independent of the compiler version. Qt 3.3.8 compiles
fine with gcc 4.1.2 on my FC7 box.

>
> No idea???........
>
>

Cheers,

Michael

> Mahmood NT
>
>
>
> ----- Original Message ----
> From: Mahmood NT <nt_mahmood@xxxxxxxxx>
> To: QT mailing list <qt-interest@xxxxxxxxxxxxx>
> Sent: Wednesday, November 28, 2007 6:22:53 PM
> Subject: problem using qt3.3 in fedora 5
>
>
> I am having trouble using qt 3.3 in FC5.
> Although qt 3.3 is installed, but when I want to install a library for my
> work, it says that "can't find -lqt-mt".
>
> I have to say, I reduce the version of GCC from 4.1 (default in FC5) to
> 3.3 for my work. Does it have any effect?
>
> Mahmood NT
>
>
>
> Be a better pen pal. Text or chat with friends inside Yahoo! Mail. See
> how.
>
>
>      ____________________________________________________________________________________
> Get easy, one-click access to your favorites.
> Make Yahoo! your homepage.
> http://www.yahoo.com/r/hs


--
 [ signature omitted ] 
Message 6 in thread

Mahmood NT wrote:
>  >please send email as plain text, html email is really annoying and many
>  >people automatically filter it out, which might explain the lack of
>  >answers.
> How? I am new in mailing list, and I use my yahoo email account for 
> composing messages and send it to qt-interest. You mean another way? Thanks,
>  

Mahmood,
	Somewhere there should be settings for your email account. In those 
settings there should be an option to send mail as plain text.

--
 [ signature omitted ] 

Message 7 in thread

On Thursday 29 November 2007 11:35:44 pm Mahmood NT wrote:
> >What do you mean with "install"? Compile from source? Install an rpm?
>
> I check QT packages to install them when I installed fedora (setup).
>
> >for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker
> > can't find it.
>
> I think this is the case, How do I resolve it? Thanks,
>
> >Qt isn't installed. Install it.
>
> aaccording to "rpm -qa | grep qt", it is installed.
You aren't trying to "use" Qt, you are trying to develop with it.

You must install the qt-devel package. You probably should also look to 
install qt-designer, qt-MySQL, qt-devel-docs and possibly dbus-qt (not sure 
if all those existed for Fedora Core 5).

Also, Fedora Core 5 is a pretty old setup - not many people are likely to be 
able to provide specific advice, since it is official End Of Life'd.
https://www.redhat.com/archives/fedora-announce-list/2007-July/msg00001.html
In particular, no more security updates.

Brad

--
 [ signature omitted ] 

Message 8 in thread

yum install qt\*


Brad Hards wrote:
> On Thursday 29 November 2007 11:35:44 pm Mahmood NT wrote:
>>> What do you mean with "install"? Compile from source? Install an rpm?
>> I check QT packages to install them when I installed fedora (setup).
>>
>>> for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker
>>> can't find it.
>> I think this is the case, How do I resolve it? Thanks,
>>
>>> Qt isn't installed. Install it.
>> aaccording to "rpm -qa | grep qt", it is installed.
> You aren't trying to "use" Qt, you are trying to develop with it.
> 
> You must install the qt-devel package. You probably should also look to 
> install qt-designer, qt-MySQL, qt-devel-docs and possibly dbus-qt (not sure 
> if all those existed for Fedora Core 5).
> 
> Also, Fedora Core 5 is a pretty old setup - not many people are likely to be 
> able to provide specific advice, since it is official End Of Life'd.
> https://www.redhat.com/archives/fedora-announce-list/2007-July/msg00001.html
> In particular, no more security updates.
> 
> Brad
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 
> 

--
 [ signature omitted ] 

Message 9 in thread

>You aren't trying to "use" Qt, you are trying to develop with it.

>You must install the qt-devel package. You probably should also look to 
>install qt-designer, qt-MySQL, qt-devel-docs and possibly dbus-qt (not sure 
>if all those existed for Fedora Core 5).

This is from "rpm -qa":
[root@localhost ~]# rpm -qa | grep qt
qt-devel-3.3.5-13
qt-designer-3.3.5-13
qt-config-3.3.5-13
qt-3.3.5-13
[root@localhost ~]#


I also dig in log files and found this error message in one the the logs:

  Testing for QT (Unix (multi-threaded)) ...
  ******************************************************
  **                                                            **
  **     Linking or execution failed                 **
  **     ===================                 **
  **                                                            **
  **     You will be shown a log now ...           **
  **     Please press <ENTER> to continue.  **
  ******************************************************
Linker call:
--------------
/usr/bin/g++ -o ./tmp_test ./tmp_test.o  -L/usr/lib/qt-3.3/lib  -L/usr/lib/qt-3.3/lib  -Wl,-R/usr/lib/qt-3.3/lib:/usr/lib/qt-3.3/lib  -lqt-mt     -lm
Got the following error messages:
---------------------------------
/usr/bin/ld: warning: libstdc++.so.6, needed by /usr/lib/qt-3.3/lib/libqt-mt.so, may conflict with libstdc++.so.5
/usr/lib/libstdc++.so.6: undefined reference to `_Unwind_GetIPInfo@xxxxxxxxx'
collect2: ld returned 1 exit status


 
Mahmood NT


----- Original Message ----
From: Brad Hards <bradh@xxxxxxxxxxxxx>
To: Mahmood NT <nt_mahmood@xxxxxxxxx>
Cc: qt-interest@xxxxxxxxxxxxx
Sent: Friday, November 30, 2007 9:45:10 AM
Subject: Re: problem using qt3.3 in fedora 5

On Thursday 29 November 2007 11:35:44 pm Mahmood NT wrote:
> >What do you mean with "install"? Compile from source? Install an rpm?
>
> I check QT packages to install them when I installed fedora (setup).
>
> >for some reason libqt-mt.so is not in LD_LIBRARY_PATH and/or the linker
> > can't find it.
>
> I think this is the case, How do I resolve it? Thanks,
>
> >Qt isn't installed. Install it.
>
> aaccording to "rpm -qa | grep qt", it is installed.
You aren't trying to "use" Qt, you are trying to develop with it.

You must install the qt-devel package. You probably should also look to 
install qt-designer, qt-MySQL, qt-devel-docs and possibly dbus-qt (not sure 
if all those existed for Fedora Core 5).

Also, Fedora Core 5 is a pretty old setup - not many people are likely to be 
able to provide specific advice, since it is official End Of Life'd.
https://www.redhat.com/archives/fedora-announce-list/2007-July/msg00001.html
In particular, no more security updates.

Brad


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

--
 [ signature omitted ]