Do Qt apps look and feel native under Windows?

后端 未结 5 1365
执念已碎
执念已碎 2021-01-03 19:53

I’m about to port one of my Mac applications to Windows. The Mac app uses Apple’s native Cocoa/Appkit frameworks for the UI. The UI is Obj-C code, and the core app functiona

5条回答
  •  耶瑟儿~
    2021-01-03 20:16

    You can easily change the style of a Qt application. On Windows and Mac the default style is actually using the native functions for drawing windows, controls and the like.

    Additionally Qt does take many measures so that even the smallest aspects of an application (things you wouldn't even think of) emulate the native behaviour of a specific platform. So your Qt application can also replace your current Mac application when ported.

    I extremely advise you not to use MFC, you will regret it (especially if you never worked with the native Win32 API). It's the complete opposite of Qt regarding flexibility and ease of use.

提交回复
热议问题