Re: [RESOLVED] What GUI toolkit for my multi-threaded console app?
Quote:
Originally Posted by
nuzzle
Qt provides a lot. In fact it's more of an application framework than just a portable GUI. Qt doesn't support threading only. You'll soon realize you could replace a lot of what you've done already much simpler with Qt supplied communications features for example.
What you should have in mind though is that the more you use of Qt the more dependent on Qt your application becomes and the less standard C++ it will be. Qt isn't your ordinary support library. It tends to dominate applications very much like the MFC do.
So if you accept to give up independence in exchange for a cozy life within a framework it's time to consider the ultimate (portable) application framework I think, namely Java. If you stick with C++ you should be careful not letting some framework take over your application. It's a technical and commersial risk. That's my two cents on this.
That's very true! I want my logic to be C++ only (I am staying away from Boost for that reason) and use third library for GUI only.
Re: [RESOLVED] What GUI toolkit for my multi-threaded console app?
It's a good idea to also use the other items the library gives you too. Lots of times there are optimizations internally for things interacting with each other. For instance, you should use QString over std::string if you plan on using the string in the GUI, because converting between the two is slow.
Re: [RESOLVED] What GUI toolkit for my multi-threaded console app?
Quote:
Originally Posted by
ninja9578
I highly recommend agains GTK, purely because it's not portable.
Sure it's portable. It may not be implemented on every single platform ever, but it's on Linux, OSX and Windows.
Re: [RESOLVED] What GUI toolkit for my multi-threaded console app?
Oh, my mistake, I was thinking GTK stood for Gnome ToolKit for some reason. Yes, GIMP ToolKit, now I remember :P Windows and Linux yes, OSX, no. Not by default anyway, X is in the additional installs of OSX, most people don't install it.