Find the answer to your Linux question:
Results 1 to 5 of 5
Hello, can anybody please suggest me what library (QTK etc) to use in order to create a GUI application which can be run on both KDE and GNOME? thank you ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    19

    what to use for creating a GUI application

    Hello, can anybody please suggest me what library (QTK etc) to use in order to create a GUI application which can be run on both KDE and GNOME?

    thank you guys in advance,
    regards Meereck

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    You can use any of these:
    GTK -> Gnome Look
    QT -> KDE Look
    TCL/TK -> Fugly Look
    WxWidgets -> Awsome Look
    NCursers -> Hacker Look (CLI Based)
    SDL -> If you want to drawtheGUI yourself.

    Id use WxWidgets if I where you and wanted to make a Cross-Interface thingy
    New Users, please read this..
    Google first, then ask..

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    19
    hello robin, thank you for the overview.
    Does the application have to be compiled separately for KDE and GNOME desktops?
    Does the machine where I want to run the application have to have any libraries, or everything is included in the executable binary file?

    thanks for enlighting a newbie

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Qt applications will run on Gnome and GTK+ on KDE as long as the appropriate libraries are installed. The only issues are if you specifically access some of the desktop services for gnome or kde, in which case that desktop manager will have to be running. Generally speaking, this is not an issue. I run gnome tools on my kde desktop all the time on my CentOS workstation, and vice versa on my Ubuntu laptop. I prefer Qt, but I use raw X11 (XToolkit and Xlib) as well as wxwidgets. Both Qt and WxWidgets are goot for cross-platform programming as they work well on Unix, Linux, and Windows.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    To be a bit clearer, Gtk and Qt are just widget toolkits. Gnome's components were developed in Gtk, and KDE's in Qt, but Gtk and Qt are desktop-independent.

    To run a Gtk program on a given computer, it must have the Gtk libraries. The same is true for Qt programs. However, these libraries are in no way tied to the desktop environments, and can run under anything.
    DISTRO=Arch
    Registered Linux User #388732

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...