SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all.
Is there a smart way to install qt4 and keep qt3 safe? I would like to install some qt4 based apps and it would be cool to keep qt3 untouched.
They don't conflict by default. I.e. installing Qt4 shouldn't kill Qt3 libraries. That's of course, unless you use slackbuild written by person without any clue of what he is doing. Also, if you are installing qt 4 package with upgradepkg, and package name is in form qt-4.4.2-xxx-xxx.tgz (same format as for qt 3 package), it will probably remove qt3 libraries, so don't use upgradepkg.
Install Qt 4 from source, and you shouldn't have any problem (it installs into /usr/local/Trolltech/Qt-4.x.x by default).
So, if I install a qt4 package from slacky.eu it will be safe as I understand, right?
And then, installing, say, Qbittorrent, will it see right path to the libs?
I have a package at http://www.slackware.com/~alien/slackbuilds/qt4/ (rather, it will be there shortly... it seems I had forgotten to add it to the repository) which installs alongside Qt3 and does not mess up your Qt3 based applications (such as: all of KDE3).
I use this package with VLC 0.9.x which has a Qt4 based interface, and it works fine.
So, if I install a qt4 package from slacky.eu it will be safe as I understand, right?
It depends on slackbuild contents. I never used one, just installed Qt 4 from source and made package from it. Easy, because default installation puts everything into single folder - /usr/local/Trolltech/Qt-4.x.x.
Quote:
Originally Posted by STARHARVEST
And then, installing, say, Qbittorrent, will it see right path to the libs?
If you are talking about precompiled version, then it depends on how Qbittorrent is compiled. If the path of installed libs will be same, it will work right after installation. If path of libs are different, then you'll have to either add symlinks for required locations, or modify LD_LIBRARY_PATH.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.