r/C_Programming • u/BigBrainerr • Jul 20 '24
Question Good GUI libraries?
So Qt is C++ not C, which is fine cause i dont really need something as complicated as Qt.
Nuklear looked good but i havent seen any resources to learn it and it seems made for games rather than used standalone as a user interface.
So i would like to hear your suggestions and learning resources.
Oh, also cross-compatiblility is important please!
49
Upvotes
View all comments
Show parent comment
2
u/a2800276 Jul 21 '24
Like all cross platform toolkits, the resulting app will probably look a little weird.
Any trivial example you're likely to write will probably work without issues. If you're trying to port a non-trivial codebase to Windows that was Linux only previously with no thought put into making it cross platform it would probably be difficult. If you are a very routined Windows developer and used to their toolchain, it will probably be difficult to get things up and running at first.
It's not really a question one can provide a yes or no answer to. If it's a small utility program, that you need to run natively on lin/win/mac a simpler toolkit might be easier to use. Of the "full featured" cross platform UI offerings, GTK and QT are, to my knowledge the most mature of the lot with all the pros and cons that brings with it.