简体   繁体   English

没有Ministro的Android上的Qt应用

[英]Qt app on Android without Ministro

I want deploy app with Qt 4 or 5 libs (Core & GUI) in apk. 我想在APK中部署带有Qt 4或5库(核心和GUI)的应用程序。 Is it real? 这是真的吗? I use necessitas to create apps. 我使用necessitas创建应用程序。 google.com didn't help in this answer. google.com对这个答案没有帮助。

PS: sorry for my English, it's not my native language. PS:对不起,我的英语不是我的母语。

If you mean that you don't want to use Ministro, then it should be possible. 如果您不想使用Ministro,那么应该可以。 The page below gives some directions how to: 下面的页面提供了一些指导:

http://community.kde.org/Necessitas/QuickStartDevelop http://community.kde.org/Necessitas/QuickStartDevelop

On March 1, 2013, the page above has the following: 2013年3月1日,以上页面具有以下内容:

Deploy Configurations 部署配置

Also on the Run view you can set the Deploy Configurations, by selecting Details at the right hand side these are the different options you can choose between. 同样,在“运行”视图上,您​​可以设置“部署配置”,方法是在右侧选择“详细信息”,这是您可以选择的不同选项。

  1. Use device's qt libs 使用设备的qt库
  2. Deploy local qt libs 部署本地Qt库
  3. Install Ministro system 安装Ministro系统

The Use devices qt libs option depends also on the Use local qt libs option. 使用设备qt库选项也取决于使用本地qt库选项。 When Use local qt libs is unchecked your application will need the Ministro package to run. 如果未选中“使用本地qt库”,则您的应用程序将需要运行Ministro软件包。 However if Use local qt libs is checked, Qt Creator will pass special parameters to the application, forcing it to use Qt libraries from the /data/local/qt path on the device. 但是,如果选中了“使用本地qt库”,则Qt Creator会将特殊参数传递给应用程序,从而迫使其使用设备上/ data / local / qt路径中的Qt库。

The Deploy local qt libs option makes Qt Creator deploy qt libs found in the Qt SDK chosen (eg android-lighthouse-4.8.0). 部署本地qt库选项使Qt Creator部署在所选Qt SDK中找到的qt库(例如android-lighthouse-4.8.0)。 This option is useful when you hack on the Qt framework to test it. 当您入侵Qt框架进行测试时,此选项很有用。 This option automatically selects the Use local qt libs option. 此选项自动选择“使用本地qt库”选项。 This option get automatically unchecked after Qt Creator pushes the Qt libs. Qt Creator推送Qt库后,此选项将自动取消选中。 This option can be checked every time you need to push your local Qt modifications. 每次需要推送本地Qt修改时都可以选中此选项。

Install Ministro system option installs the Ministro package (you must provide the apk yourself; download it from from here). “安装Ministro系统”选项将安装Ministro软件包(您必须自己提供apk;从此处下载)。 It is useful when you try to test your application on Android Virtual Devices. 当您尝试在Android虚拟设备上测试应用程序时,它很有用。

If you want to go with Ministro for the libraries, here are directions on how to get it set up: 如果要使用Ministro的库,请按照以下说明进行设置:

https://play.google.com/store/apps/details?id=eu.licentia.necessitas.ministro https://play.google.com/store/apps/details?id=eu.licentia.necessitas.ministro

http://sourceforge.net/p/necessitas/home/necessitas/ http://sourceforge.net/p/necessitas/home/necessitas/

What is Ministro ? 什么是Ministro?

Necessitas is also the Home of Ministro, an Android application which provides a system wide downloader and installer of the LGPL Qt shared libraries. Necessitas还是Ministro的所在地,这是一个Android应用程序,可提供LGPL Qt共享库的系统级下载器和安装程序。 You can find Ministro on the Android Market or as direct download here. 您可以在Android Market上找到Ministro,也可以在此处直接下载。

EDIT: Some more links: 编辑:更多链接:

http://community.kde.org/Necessitas http://community.kde.org/Necessitas

http://necessitas.kde.org/ http://necessitas.kde.org/

http://qt-project.org/wiki/How_to_Create_and_Run_Qt_Application_for_Android http://qt-project.org/wiki/How_to_Create_and_Run_Qt_Application_for_Android

Hope that helps. 希望能有所帮助。

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

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