Reputation: 6328
I'm looking for an UI framework that will let me create a C++ application looking/behaving native on both mac and win. By native I mean the approach similar to, say, IBM's AWT/SWT on Java.
Six years ago there was no such thing around, is there something now?
Thank you in advance.
Upvotes: 1
Views: 743
Reputation: 368181
You may wan to look at at Qt which is
and e.g. here is a tutorial on making it look native on the host system.
Upvotes: 2
Reputation: 25729
Qt and wxWidgets are good. But as far as I know, there is really no library that gives a entirely native look and feel. If it is really important, I suggest you create a native application for each system and factor out the common code.
Upvotes: 3
Reputation:
Qt and wxWidgets come to mind. A word of advice if I may: Mac OS X users have a set of expectations when it comes to UI, most of which are detailed in Apple’s Human Interface Guidelines. Cross-platform applications tend to look-and-feel and behave differently from native applications, and users will look for and prefer native alternatives.
Upvotes: 5
Reputation: 1625
Take a look at QT, it is free for non-commercial use and I believe the commercial license is around $2000. Another popular library is wxWidgets
Upvotes: 2