September 8th, 2013, 09:39 AM
C++ windowed programs on Linux
How can I get started on creating GUI programing in Linux with C++? Thanks.
September 8th, 2013, 10:27 AM
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.