You are not logged in.

#1 2014-01-20 09:24:09

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

run a qt program in arch

I want to run a qt program in arch. Is it necessary to install KDE or GNOME desktop before that? or I can simply run it in console as well? considering that the program is a GUI program with OpenGL.
if it is possible to run in console as well before tell me how, I have already installed xorg and start x works fine.

Offline

#2 2014-01-20 09:27:18

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: run a qt program in arch

You don't need a DE to run anything, a WM is fine.

I don't think you actually want to run it in the console.


Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2014-01-20 09:33:57

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: run a qt program in arch

what is WM and what is NC?

Offline

#4 2014-01-20 09:36:10

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: run a qt program in arch

Window Manager and Newbie Corner.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2014-01-20 09:41:26

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: run a qt program in arch

Now that I installed xorg and start x works fine, is WM installed? I do not what you mean by WM, usually KDE and GNOME DE are used to run gui program. However, is they are not necessary, the better. I don't need to installed them. Could you give me more details about WM installation please.

Last edited by saman_artorious (2014-01-20 09:47:21)

Offline

#6 2014-01-20 09:51:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: run a qt program in arch

Offline

#7 2014-01-20 10:39:31

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: run a qt program in arch

Many qt programs depend on some parts of KDE, so you may need to have those parts installed.

If the program you need to run is present in the repos, simply install it and pacman will fetch all the required dependencies (i.e., any relevant part of KDE) by itself.

To sum it up, you don't need to run the KDE suite, but you will have to install the relevant dependencies. The program itself should run fine with any WM or DE.

Last edited by x33a (2014-01-21 05:20:18)

Offline

#8 2014-01-20 16:25:14

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: run a qt program in arch

saman_artorious wrote:

I want to run a qt program

So... What is the name of the Qt program you want to run?

Offline

#9 2014-01-21 10:43:08

saman_artorious
Member
Registered: 2013-05-30
Posts: 31

Re: run a qt program in arch

x33a wrote:

Many qt programs depend on some parts of KDE, so you may need to have those parts installed.

If the program you need to run is present in the repos, simply install it and pacman will fetch all the required dependencies (i.e., any relevant part of KDE) by itself.

To sum it up, you don't need to run the KDE suite, but you will have to install the relevant dependencies. The program itself should run fine with any WM or DE.

what about if I do not download qt using pacman and instead install qt offline? in that case how will it know which dependencies it needs to download?

Last edited by saman_artorious (2014-01-21 13:19:43)

Offline

#10 2014-01-21 14:06:38

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: run a qt program in arch

saman_artorious wrote:

what about if I do not download qt using pacman and instead install qt offline? in that case how will it know which dependencies it needs to download?

Then you will be installing the same software and dependencies as if you were using pacman. Is there something pacman is trying to install that you don't want installed? If so, why not?

And again, what are you trying to install??

Offline

#11 2014-01-21 14:14:03

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,621
Website

Re: run a qt program in arch

saman_artorious wrote:

what about if I do not download qt using pacman and instead ...

Is there some reason to do this?  Some very very good and compelling reason?  Otherwise please don't.

Use pacman.  The package manager is one of the greatest strengths of arch linux, don't push it aside to easily.  Most reasons that one might think to not use it can actually be remedied by learning how to use it better (e.g. rebuild from ABS to add a needed configuration, and still install with pacman).


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#12 2014-01-21 19:31:39

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: run a qt program in arch

saman_artorious wrote:
x33a wrote:

Many qt programs depend on some parts of KDE, so you may need to have those parts installed.

If the program you need to run is present in the repos, simply install it and pacman will fetch all the required dependencies (i.e., any relevant part of KDE) by itself.

To sum it up, you don't need to run the KDE suite, but you will have to install the relevant dependencies. The program itself should run fine with any WM or DE.

what about if I do not download qt using pacman and instead install qt offline? in that case how will it know which dependencies it needs to download?

1) Stop what you're doing.
2) Think very carefully about what it is you want to accomplish.
3) Explain in detail to the people here what it it is you are trying to accomplish, why you wish to do so, and what you've attempted so far in order to do so.

So far, you've met every answer to one of your questions with yet another, seemingly unrelated question; you're just leading the folks here in circles with no clear goal. No matter what it is you happen to be doing, or when, or where, this is simply not an effective or efficient way to get things done. Arch is a Do-It-Yourself distribution and community; folks here will only remain patient for so long.

Offline

Board footer

Powered by FluxBB