简体   繁体   English

来自Qt / C ++的跨平台移动通知?

[英]Cross-platform mobile notifications from Qt/C++?

The closest thing I've seen in the docs is the QSystemTrayIcon class, which seems to only be supported on the desktop. 我在文档中看到的最接近的东西是QSystemTrayIcon类,该类似乎仅在桌面上受支持。

Is there any existing hack or third-party code to send a notification on iOS/Android/WinRT (or possibly support for what I'm looking for in the dev branch of Qt)? 是否有任何现有的黑客或第三方代码可以在iOS / Android / WinRT上发送通知(或可能支持我在Qt的dev分支中寻找的内容)?

Is there any existing hack or third-party code to send a notification on iOS/Android/WP/WinRT (or possibly support for what I'm looking for in the dev branch of Qt)? 是否有任何现有的黑客或第三方代码可在iOS / Android / WP / WinRT上发送通知(或可能支持我在Qt的dev分支中寻找的内容)?

I personally doubt it. 我个人对此表示怀疑。

The reason is that, at this point of time these ports are quite new and immature, especially the iOS and Windows Phone. 原因是,在这些时间点上,这些端口还很不成熟,尤其是iOS和Windows Phone。 Let us put WinRT to the rest after the semi-official announcement from Microsoft they would drop (merge?) it. 在Microsoft半官方宣布它们将删除(合并?)之后,让我们将WinRT放在其余部分。

Even the Android port, which is probably the maturest of all, has an android specific way of doing this demonstrated in the example: 甚至可能是所有端口中最成熟的Android端口,也有一个android特定的方式来执行此操作,如示例所示:

QtAndroidExtras - Qt Notifier QtAndroidExtras-Qt通知程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM