tags:

views:

79

answers:

2

I want to write a program for linux with Qt.

I know KDE is coded in Qt and Gnome isn't. Is it still possible to write a program in Qt for Gnome?

+1  A: 

Qt applications run just fine on Gnome. You just need to install the appropriate libraries.

Nikola Smiljanić
Great, i thought that KDE is created by QT and i can't code for other desktop environment.
uzay95
+3  A: 
  1. GNU is not GNOME. GNU is a collection of projects, most of which are system-base stuff and don't have GUIs. GNOME is one of the GNU projects. GNOME implements a desktop GUI.

  2. If you write a Qt app, it will run fine under GNOME, provided that the user has the Qt libraries installed (or, and this is often better, you ship them with your app)

  3. Your Qt app will look almost native under GNOME if you make it use QGtkStyle as its widgetstyle (this is done via QApplication::setStyle). This means the app won't look ugly or foreign under GNOME (except for some very small details)

Stefan Monov