简体   繁体   中英

Qt app on Android without Ministro

I want deploy app with Qt 4 or 5 libs (Core & GUI) in apk. Is it real? I use necessitas to create apps. google.com didn't help in this answer.

PS: sorry for my English, it's not my native language.

If you mean that you don't want to use Ministro, then it should be possible. The page below gives some directions how to:

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

On March 1, 2013, the page above has the following:

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
  2. Deploy local qt libs
  3. Install Ministro system

The Use devices qt libs option depends also on the Use local qt libs option. When Use local qt libs is unchecked your application will need the Ministro package to run. 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.

The Deploy local qt libs option makes Qt Creator deploy qt libs found in the Qt SDK chosen (eg android-lighthouse-4.8.0). This option is useful when you hack on the Qt framework to test it. This option automatically selects the Use local qt libs option. This option get automatically unchecked after Qt Creator pushes the Qt libs. This option can be checked every time you need to push your local Qt modifications.

Install Ministro system option installs the Ministro package (you must provide the apk yourself; download it from from here). It is useful when you try to test your application on Android Virtual Devices.

If you want to go with Ministro for the libraries, here are directions on how to get it set up:

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

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

What is 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. You can find Ministro on the Android Market or as direct download here.

EDIT: Some more links:

http://community.kde.org/Necessitas

http://necessitas.kde.org/

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

Hope that helps.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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