Building a Mac and Windows GUI Application

前端 未结 2 921
执笔经年
执笔经年 2021-02-07 13:43

I am planning to build a GUI application for Mac and Windows. I\'ve been doing some research in the technology choices, as in the language, libraries, and build tools, so that I

2条回答
  •  清歌不尽
    2021-02-07 14:11

    I think you might be ruling out Qt too quickly. This guy has reported that he publishd a Qt-based app on the Mac App Store.

    According to this related answer, you can specify the Qt build target to use Cocoa instead of the deprecated Carbon API.

    This Qt bug where some plist file would be written a location not approved by Apple has been resolved in version 4.8.

    This Qt article discusses special features introduced to support Mac's native look and feel.


    With regards to C++, there are generally no cross-platform issues if you use libraries such as Qt or Boost to abstract out the platform-dependent bits (Boost.Asio, Boost.Filesystem, and Boost.Thread come to mind, Qt has similar abstractions for networking, files, and threading).

    C++ is definitely an "expert friendly" language. If it's possible to use Python and PySide bindings for Qt, while still being able to publish to the App Store, then I'm guessing that might be your best bet.

    If you end up using C++, then I strongly suggest that you learn to use all the facilities at your disposal which will minimize manual memory management and raw pointers. Learn about container classes, string class, and smart (reference-counting) pointers.

提交回复
热议问题