The following members of QML type 应用程序 被弃用。 提供它们是为使旧源代码能继续工作。强烈建议不要在新代码中使用它们。
(deprecated since 5.2)
active : bool |
This property is deprecated since 5.2. We strongly advise against using it in new code.
Returns whether the application is active. Use Qt.application.state == Qt.ApplicationActive instead