What's the C++ GUI building option with the easiest learning curve - VS/Qt/wxWidgets/etc.?

前端 未结 11 1469
南旧
南旧 2021-02-07 20:38

I\'m looking to be able to build GUI applications quickly and painlessly as possible. I\'m competent (though not expert, and have no formal training) in C++, but have never used

11条回答
  •  北荒
    北荒 (楼主)
    2021-02-07 21:24

    Qt is the best option for you. It's the easiest to learn, the most elegant and powerful and it is completely free.

    • Visual C++: This is an IDE, but it comes with its own GUI library called MFC. MFC is an old library with many quirks and it is difficult to learn and use. Many C++ programmers use it on Windows because it comes from MS, it's fast and it's free if you buy Visual C++. Since VC++ is an IDE, you can also use wxWidgets and Qt with it, although in your particular case I would recommend Qt Creator instead.

    You seem to have experimented with Managed C++. Don't use that, even MS recommends that you only use Managed C++ as glue between C++ and C#.

    • wxWidgets: This one was a strong contender up to the day when Qt became free for commercial projects. It was always in the shadow of Qt and it is known that the documentation is not very good and the API is not as easy to learn as Qt's. Cross-platform MFC would be a good way to describe it.

    • C++ Builder: Borland made too many mistakes with C++ Builder and ended up getting out of the dev tools business altogether. It was a good product and I originally learned Windows GUI programming in one of the first versions, but I won't use it any more. There are better options and it is too expensive.

提交回复
热议问题