LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-23-2002, 06:46 PM   #1
samon
LQ Newbie
 
Registered: Apr 2002
Posts: 18

Rep: Reputation: 0
qt3


I cann't compile any program that needs qt3, I have mandrake 8.2 and upgraded to KDE3 with qt3 and qt3-dev (contained in KDE) all programs give me the same error: (library qt-mt not found). I tried to configure with the option --with-qt-libraries=/usr/lib/qt3/lib and so on but nothing.
I tried export QTDIR=/usr/lib/qt3 and this did'nt help too
so what I'm doing wrong? thanx in advance
 
Old 05-01-2002, 12:43 PM   #2
Fungmeista
LQ Newbie
 
Registered: May 2002
Distribution: Mandrake 9.2 + Cooker
Posts: 8

Rep: Reputation: 0
Did you check the /usr/lib/qt3/lib directory for libqt-mt? If it is there then you need to either add -L/usr/lib/qt3/lib when you compile it or add /usr/lib/qt3/lib to ld.so.conf.

I have KDE3 and Qt3 on Mandrake 8.2. Mine can find libqt-mt but it gives a bunch of undefined resources errors anyways.... I must be including either the wrong library or missing a library. I'm stumped.
 
Old 01-27-2004, 03:36 PM   #3
raneck
LQ Newbie
 
Registered: Jan 2004
Location: Brighton, MA
Distribution: Mandrake 9.2 / Qt3
Posts: 2

Rep: Reputation: 0
I have run into what appear to be a couple bugs. This is from the Quick Start section of the Help files. Metric Conversion app.
1- Select clearPushButton for the Sender, clicked() for the Signal, numberLineEdit for the Receiver, and setfocus() for the Slot.
I have attempted to complete this step but there is no setfocus() option in the drop down menu for this (view and edit connections)

2- When I click Sender the drop down list textlabel1 is on the list and I dont think it should be and the toCombo box is not. I admit that I am new to Qt3 and c++ programming but I have attempted this same program 4 times and the same thing happens.

If you can in any way help I would appriciate it greatly.
 
Old 01-28-2004, 05:00 PM   #4
delta9
Member
 
Registered: Dec 2003
Distribution: Gentoo
Posts: 66

Rep: Reputation: 15
I've read the following on the independent QT tutorial page...

Quote:
Some Linux distributions only include the multi-threaded version of Qt, called libqt-mt.so and not libqt.so. This means that ld will complain (when running gcc, g++ and other tools invoking ld, or running ld directly) that it cannot find -lqt. There are three ways to solve this listed below. I recommend the first solution.

* Change the qmake.conf file pointed at by QMAKESPEC by adding the word thread in the CONFIG += ... line.
* Change the .pro file for the project to be built by adding the word thread in the CONFIG += ... line.
* Compile Qt without multi-threading support to generate libqt.so.
* Put a link namned libqt.so pointing at libqt-mt.so in the lib directory.
http://www.digitalfanatics.org/proje...chapter04.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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Qt3 SpEcIeS SUSE / openSUSE 3 04-22-2005 06:28 PM
Qt3 - QSyntaxHighlight BluePyre Programming 1 05-17-2004 10:17 AM
Qt3.3 vs Qt 3.2 irfanhab Programming 0 05-11-2004 02:28 AM
About qt3... LI-6Y LUCY Programming 3 08-28-2003 09:45 AM
Help Qt3 Zion Linux - General 15 07-22-2002 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:20 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