#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2006
    Posts
    49
    Rep Power
    9

    C++ windowed programs on Linux


    How can I get started on creating GUI programing in Linux with C++? Thanks.
  2. #2
  3. Contributing User

    Join Date
    Aug 2003
    Location
    UK
    Posts
    5,073
    Rep Power
    1802
    There are a number of ways. Linux does not have a single standard GUI environment, API or GUI development tool.

    Popular graphical environmets include Gnome and KDE though Gnome apps can run on systems with a KDE desktop and vice versa.

    Simple ways are to start to download and install one (or more) of:



    Both options provide an IDE with visual GUI development base on the Qt and wxWidgets libraries respectively. K-Develop is specific to KDE and Qt on Linux relies on KDE libraries while wxWidgets used Gnome's GTK+. Qt and wxWidgest are however cross-platform (supporting Windows and OSX also). The KDE and GTK+ libraries can be used stand-alone within your preferred development environment or no IDE at all, but visual design within an IDE is generally faster, simpler and less frustrating.

    Qt development is somewhat more complex perhaps since Qt adds extensions to C++ that require your code to be pre-processed with Qt's meta-object and UI compilers and Qt uses its own slots/signals messaging system to communicate between components.

IMN logo majestic logo threadwatch logo seochat tools logo