LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2011, 04:43 AM   #1
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
will i be able to use qt programs


hi guys, during installing sackware, i unselected the qt package so i wouldn't have kde installed on my computer when done. i like a couple of qt programs like opera. if i install opera, will it work since i didn't install the qt package
 
Old 07-10-2011, 05:07 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
qt is not kde. It's the graphics framework library on which kde is built, in the same way that gtk is the framework that gnome is built upon. Programs can be written with qt that are not kde programs; that is, they don't integrate directly with kde desktop features or use any of the kde-specific libraries.

Most programs don't require any particular environment. You can run a qt program, or even a kde program, on any machine, no matter what desktop you're using, as long as all the libraries it calls on are available. And you can run gnome programs on kde if you have the necessary gtk+gnome libraries installed.

So just check the requirements of the program you want to install, and make sure all its dependencies are accounted for.
 
Old 07-10-2011, 05:28 AM   #3
piratesmack
Member
 
Registered: Feb 2009
Distribution: Slackware, Arch
Posts: 519

Rep: Reputation: 142Reputation: 142
If the program was built with a static QT it can be run without the qt package.
e.g. VLC can be built this way using Alien's SlackBuild (set STATIC_QT4=YES)

I don't know about Opera, but I'd just try it and see if it runs.
If it doesn't just install the qt package and try again.
 
Old 07-10-2011, 05:31 AM   #4
Diantre
Member
 
Registered: Jun 2011
Distribution: Slackware
Posts: 515

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by Knightron View Post
if i install opera, will it work since i didn't install the qt package
I honestly don't know, I haven't installed opera in ages. But it's something like this, if it's dynamically linked, it won't work, if it's statically linked, it will.

Statically linked means all required libraries are built into the program, so when it runs it already has what it needs. Dynamically linked is just the opposite, the program will look for required libraries in the system.

If you run the program and it complains about missing libraries, simply install qt, that should take care of it.
 
Old 07-10-2011, 10:54 PM   #5
Knightron
Senior Member
 
Registered: Jan 2011
Location: Australia
Distribution: openSUSE
Posts: 1,465

Original Poster
Blog Entries: 6

Rep: Reputation: 200Reputation: 200Reputation: 200
Quote:
Originally Posted by David the H. View Post
qt is not kde.

Most programs don't require any particular environment. You can run a qt program, or even a kde program, on any machine, no matter what desktop you're using, as long as all the libraries it calls on are available. And you can run gnome programs on kde if you have the necessary gtk+gnome libraries installed.

Yes, i'm aware of what qt is, and that kde isn't qt, but when i first installed Slackware i'd had an issue with kde taking over when i didn't want it, (it would have been a simple xwmconfig job) anyways i did a reinstall and i wasn't 100% sure on the facts, and during the full install options, i unselected the qt package so kde wouldn't interfere. I would actually like to install that qt option with kde from the dvd if that is possible.
 
Old 07-11-2011, 08:50 AM   #6
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Knightron View Post
hi guys, during installing sackware, i unselected the qt package so i wouldn't have kde installed on my computer when done. i like a couple of qt programs like opera. if i install opera, will it work since i didn't install the qt package
Opera is not a Qt application and hasn't been since Opera 10.11. It uses its own toolkit (called "Quick" internally). It will optionally use various KDE libs and Qt to simulate native themeing if the required libs are present and you are running under KDE. Similarly it will optionally use Gtk to do themeing as an alternative.

However, if neither KDE/Qt nor Gtk is installed Opera will run using only its own toolkit/Quick.

P.S. I believe we are the only major browser that can use Gtk or KDE themes or run with neither.

Last edited by ruario; 07-11-2011 at 09:07 AM. Reason: fixed version number
 
Old 07-11-2011, 09:04 AM   #7
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
> if i install opera, will it work since i didn't install the qt package

To answer this question more directly. Yes!

However, you could easily test this yourself. If you download Opera from www.opera.com as one of our tar packages and extract its contents it is possible to test run Opera without installing it (It runs in place and creates a scratch profile within the extracted directory).

i.e. assuming 32-bit Linux and the Opera 11.50 final package

Code:
tar xf opera-11.50-1074.i386.linux.tar.xz
opera-11.50-1074.i386.linux/opera &
 
Old 07-11-2011, 09:15 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Just another thought. Since SlackBuilds.org is not yet updated with Opera 11.50, you can get binary packages (maintained by me) from the Salix repository:

http://download.salixos.org/i486/13....0-i686-1ro.txz
http://download.salixos.org/x86_64/1...x86_64-1ro.txz

Additionally, I usually make the latest development version of Opera available in Slackware format here:

http://people.opera.com/ruario/snapshot/

This development version will install side by side with the stable version and use its own profile. So you needn't worry about it upgrading Opera or the main Opera profile.

Note: Despite the fact that I am an Opera employee (and one of the main Opera testers on Linux and FreeBSD) these packages are unofficial. I create them for myself as I run Slackware on some of my own machines.

If you would prefer not have a binary repack, here is one of the scripts I use to do repacking should you want to repack locally:

http://people.opera.com/ruario/slkbuilds/op2slk

This script is also available as a installable package with a bundled update script to keep Opera up to date. The package is here: http://people.opera.com/ruario/slkbu...noarch-1ro.tgz
 
Old 07-11-2011, 09:30 AM   #9
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Knightron View Post
I would actually like to install that qt option with kde from the dvd if that is possible.
Assuming a 32-bit system. The Qt package is found in the 'l' directory as 'qt-4.7.0_7abde40-i486-3.txz'. Alternatively if you have slackpkg installed and configured (and you should!), then:

Code:
slackpkg install qt
 
  


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
[SOLVED] KDE 4 - Weird skewed colors in qt4 programs after launching gtk programs. genericflounder Linux - Desktop 3 08-25-2010 04:41 PM
Are programs like sys_open( ) ,sys_read( ) et al examples of system level programs ? kashyapa Linux - Newbie 5 10-27-2009 08:20 PM
Programs installed with package manager aren't recognised by other programs fraserm Linux - Software 3 04-21-2007 12:38 PM
my table with programs when i press in button (left down corner) do no show programs sagi7ario Mandriva 1 03-12-2004 12:02 PM
How to get newly installed programs in programs list Brosky Linux - Software 5 02-06-2004 03:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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