LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-26-2005, 12:25 AM   #1
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Rep: Reputation: Disabled
Qt X11 Free 3.3.4 not compatible with Qt 3.3.2 that comes with Slack 10.0?


I tried upgrading to Qt 3.3.4 on my Slack 10.0 box, however KDE won't start up with the new libs. I looked in the 3.3.4 lib folder and most of the libs have the same names as the Qt 3.3.2 libs but with a suffix of something like '-mt' (don't quote me on the exact suffix). Is there a build option to make them compatible, or is Qt 3.3.2 hacked by Slackware? Thanks.
ta0kira
 
Old 04-26-2005, 04:11 PM   #2
freakyg
Member
 
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
usually the only reason to upgrade QT ......is when you do an update of KDE versions............update KDE to current and see if it works...........
 
Old 04-26-2005, 04:13 PM   #3
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 53
mt is multithreaded support. Do you mean that 3.3.4 had -mt or 3.3.2 had mt? And why did you want to make such a minor update? (He says, currently downloaded Firefox 1.0.3 to replace 1.0.2!)

Did you delete the old libs when you installed the new ones?
 
Old 04-27-2005, 12:56 AM   #4
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
To tell you the truth, I didn't have any idea what Qt I had when I downloaded 3.3.4. I actually thought that what came with KDE didn't have designer in it, but I found out that it does after I downloaded the upgrade. I figured since I have it, I might as well install it. No, I didn't remove the old libs; I just changed the /usr/lib/qt symlink from 3.3.2 to 3.3.4. It was the 3.3.4 that had the -mt. The only reason I would like to make it work now is the 80 minute build time on a 2GHz processor. I want my time back! But realistically, it doesn't really matter; I was just curious.
ta0kira
 
Old 04-27-2005, 12:59 AM   #5
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
both have -mt, without thread support kde will refuse to use it ( or any kde app). check the qt script in /etc/profile.d and make sure it uses the symlink name and not the full path to the qt root.
 
Old 04-28-2005, 04:27 AM   #6
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
The profile.d qt scripts set QTDIR as /usr/lib/qt and not the version-specific folder. I'll check the build options and try again. Thanks.
ta0kira
 
Old 04-28-2005, 04:30 AM   #7
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
did you change /etc/ld.so.conf to cache the new libs? does kde give any error messages?
 
Old 04-29-2005, 12:16 AM   #8
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
Didn't change /etc/ld.so.conf, but chances are it points to /usr/lib/qt instead of the hard path, so changing the symlink should change where it is caching. I'm not sure if it is a KDE error I get; it shows up as a dialog in X.Org that says something like the install is bad.
ta0kira
 
Old 04-29-2005, 01:39 AM   #9
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
as long as you ran ldconfig you should be ok ( you mentioned the build time - did you compile it yourself? did you use the same options the slack qt was built with?)
 
Old 04-29-2005, 02:43 AM   #10
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
Yes, I compiled myself. I didn't check on the KDE 3.2 compile options for Qt, but I suppose that would be helpful.
ta0kira
 
Old 04-29-2005, 02:51 AM   #11
__J
Senior Member
 
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
here is how I compile mine ( it can be done several ways, but some options have to be there ( thread is the main one))

./configure -prefix=/opt/qt-3.x.x -qt-gif -system-libmng -system-libpng -system-libjpeg -system-zlib -no-exceptions -thread
make
etc......


by the way, if you are in doubt on how to build something like qt or libraries etc..., check here:
http://lfs.osuosl.org/blfs/view/stable/

it doesn't have everything, but if it's in there it will get you started, including dependencies and optional dependencies.
 
Old 04-29-2005, 04:52 AM   #12
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
Thanks. I'll take a look at my install and take that into consideration.
ta0kira
 
Old 05-09-2005, 06:46 AM   #13
ta0kira
Senior Member
 
Registered: Sep 2004
Distribution: FreeBSD 9.1, Kubuntu 12.10
Posts: 3,078

Original Poster
Rep: Reputation: Disabled
You were right; it was the 3.3.2 that had the '-mt'. I rebuilt 3.3.4 with the '-thread' option and the install went just fine, but it doesn't show the KDE plug-ins now. If I revert the 'qt' symlink to the old folder then they show back up. It could be that I just need to add a line to a config file in the 3.3.4 directory, but I have no idea which file that would be. I know the /etc/profile.d/qt.* scripts set QTDIR to whichever the newest 'qt-*' folder is in /usr/lib, but they add '/usr/lib/qt' (the symlink) to PATH. Do you have any idea? Thanks.
ta0kira
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Slack compatible insyte Amigo 3 09-15-2004 04:07 PM
configure problem while building qt-x11-free-3.3.3 (BLFS) jomen Linux - Software 7 09-03-2004 09:15 AM
qt-x11-free jackren Debian 10 01-04-2004 10:59 AM
GPM and X11 on Slack 9 Radicalm16 Linux - General 2 06-04-2003 11:42 AM
compatible video cards for Slack 8.1 tarballed Slackware 15 10-11-2002 10:49 PM


All times are GMT -5. The time now is 11:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration