如何在Qt跨平台应用程序中启用自动更新? [英] How can I enable auto-updates in a Qt cross-platform application?

查看:149
本文介绍了如何在Qt跨平台应用程序中启用自动更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我喜欢那些无需用户任何努力即可自行更新的应用程序(请考虑: Mac版Sparkle 框架).我可以在Qt应用程序中使用任何代码/库来执行此操作,而不必担心操作系统详细信息吗?

I love applications that are able to update themselves without any effort from the user (think: Sparkle framework for Mac). Is there any code/library I can leverage to do this in a Qt application, without having to worry about the OS details?

至少对于Windows,Mac和用户拥有的Linux二进制文件.

At least for Windows, Mac and user-owned Linux binaries.

我可以将Sparkle集成到Mac版本上,为Linux案例编写一些代码(仅适用于独立的用户拥有的二进制文件;我不会弄混

I could integrate Sparkle on the Mac version, code something for the Linux case (only for a standalone, user-owned binary; I won't mess with distribution packaging, if my program is ever packaged), and find someone to help me on the Windows side, but that's horribly painful.

推荐答案

好,所以我想我认为它是无(跨平台)方式".太糟糕了!

OK, so I guess I take it as a "no (cross-platform) way". It's too bad!

这篇关于如何在Qt跨平台应用程序中启用自动更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆