简体   繁体   English

带有Qt的Android应用程序的Necessitas SDK

[英]Necessitas SDK for android app with Qt

There are 2 pages that confuse me: 有2页让我感到困惑:

http://doc.qt.io/qt-5/android-support.html http://doc.qt.io/qt-5/android-support.html

and

https://wiki.qt.io/How_to_Create_and_Run_Qt_Application_for_Android https://wiki.qt.io/How_to_Create_and_Run_Qt_Application_for_Android

Both these pages guide you on how to create Android apps with Qt. 这两个页面均指导您如何使用Qt创建Android应用。 But one uses the Necessitas SDK and the other doesn't. 但是一个使用Necessitas SDK,而另一个则不使用。

I want my app to use the Google-Cloud-Messaging service to be able to send and receive notifications. 我希望我的应用能够使用Google云消息服务来发送和接收通知。

I already have created an Android app and it runs fine on my phone without using the Necessitas SDK. 我已经创建了一个Android应用,并且可以在手机上正常运行,而无需使用Necessitas SDK。

So my question is: Do i need this necessitas SDK? 所以我的问题是:我需要这个必需的SDK吗? if so, why? 如果是这样,为什么? Or can i just continue like i already have? 还是我可以像以前一样继续前进?

I think the 2nd link is out of date. 我认为第二个链接已过期。 From what I understand, necessitas was needed for Qt4 but Qt5 has it by default. 据我了解,Qt4需要necessitas,但Qt5默认情况下具有它。

https://forum.qt.io/topic/27754/do-i-still-need-to-download-necessitas-when-using-qtsdk-5-1/3 https://forum.qt.io/topic/27754/do-i-still-need-to-download-necessitas-when-using-qtsdk-5-1/3

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

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