If you are not planning on writing your own user interface toolkit, it makes no more sense to use X directly. Too complicated, too much work.
On Linux, you have two main options: GTK and Qt. Both work fine. Qt works better as a native C ++ toolkit than GTK itself, although GTKmm is a decent C ++ wrapper for it. GTK can usually be used from more languages ββthan Qt, but it doesnβt matter if you use C ++ anyway.
Both are cross-platform, but GTK feels somewhat alien to other operating systems, especially Mac OS X. Qt feels completely native on Windows and pretty close to Mac OS X. It also provides many other cross-platform functionality outside the user interface. such as streaming, file system access, networking, etc. It seems that Qt will at least win on the portability front.
In general, come with something popular - there is more chance of finding good examples, ready-made applications that you can analyze, libraries that you can use, or even just find help here.
source share