返回介绍

Window System-specific Notes

发布于 2019-10-04 14:57:22 字数 1541 浏览 1124 评论 0 收藏 0

Qt is a multiplatform GUI toolkit, so almost the entire API is the
same on all platforms and window systems. If you wish to use
platform-specific features, and still maintain a platform-independent
source tree, you should protect the platform-specific code using the
appropriate #ifdef statements (see below).

For information about which platforms are supported by Qt, see the
Platform
Notes.

Qt/X11

When compiling for this platform, the macro Q_WS_X11 is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

Qt/Windows

When compiling for this platform, the macro Q_WS_WIN is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

Qt/MacOSX

When compiling for this platform, the macro Q_WS_MACX is defined.

Not documented here. Please contact Trolltech Technical Support if you have queries.

Qt/Embedded

When compiling for this platform, the macro Q_WS_QWS is defined
(the window system is literally the Qt Window System).

  • Installation
  • Qt/Embedded performance tuning
  • Running Qt/Embedded applications
  • Porting your applications to Qt/Embedded
  • Font formats and definitions
  • Character input (keyboard, pen, ...)
  • Pointer handling (mouse, pen, ...)
  • Reduce memory use with the feature definition file
  • A case study embedding on Cassiopeia

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文