WxWidgets is public domain last I looked. Of course, if you are only doing open source, then there is no difference. (About $4k/developer for most all platforms Qt supports.) So it can be expensive. The downside of Qt is that you have a big check per developer if you are doing something commercial, something that is not open source. You also need to get familiar with the QMake preprocessor that puts a lot of the Qt stuff together for you. Qt is also its own environment that you can easily extend – this is what KDE does for their ecosystem. Rather, it uses something called “Slots”, which are very dynamic and you call at run time to be added to. It does it both the Gtk/Microsoft way, and the Qt Slot way.ģ) Qt does not use the Message Map structure really at all – or if it does, it’s all hidden. If you know how to create a GUI in Visual C/C++, then Gtk will seem native – you declare your message maps the same way.Ģ) WxWidgets/WxWindows is need. However, from my research:ġ) Gtk does things a lot like Microsoft when it comes to messaging. Hopefully how nice QT or GTK+ are to work with in Python reflect how nice they are to work with in C, C++ too. Next I plan to survey both GTK+ and QT and make a decision where to devote my brain. I’m already writing command line scripts, doing DB stuff etc. Right now I’m learning Python by reading a book just on Python. But then you can get yourself into trouble if a library you choose isn’t supported on all the platforms you’re interested in or it may get a little hacky using cygwin / mingw on Windows etc. Using GTK+ looks attractive because it seems like it is just a GUI toolkit and you can use what libraries you want for the other stuff. That is also what makes it unattractive for using QT with languages like Java or Python which already have all that stuff. QT looks attractive because it has more stuff like XML, collections, networking, threading etc. As someone who has never created a GUI in anything other than Java and VB, I am torn between learning GTK+ / wxWidgets, and QT.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |