Android上运行QT项目Necessitas的基本原理
2012-01-18 16:25
369 查看
by 宋宝华 <21cnbao@gmail.com>
There is a project named Necessitas (by BogdanVatra)which implements a basic support of creating and running QT applications onAndroid. It also provides a user-friendly Qt Creator Integration with Android:
DowloadSDK: http://sourceforge.net/projects/necessitas/files/
NecessitasSourcecodes:
git clone https://git.gitorious.org/~taipan/qt/android-lighthouse.git
git clone git://gitorious.org/~taipan/qt-creator/android-qt-creator.git
The basic architecture of this project issomething like:
A QT application is bound with Android Activity, then it will follow the Android process life cycle. At the same time, there is aframebuffer/input adapter between QT and Android.
read the source code:
http://qt.gitorious.org/qt/blacktass-android-lighthouse/blobs/ed10b2237ebbeeacf6243a462a7b157be028a691/src/android/java/com/nokia/qt/QtActivity.java
We know clearly about the relationship QtApplication and QtActivity in Android.
There is a project named Necessitas (by BogdanVatra)which implements a basic support of creating and running QT applications onAndroid. It also provides a user-friendly Qt Creator Integration with Android:
DowloadSDK: http://sourceforge.net/projects/necessitas/files/
NecessitasSourcecodes:
git clone https://git.gitorious.org/~taipan/qt/android-lighthouse.git
git clone git://gitorious.org/~taipan/qt-creator/android-qt-creator.git
The basic architecture of this project issomething like:
A QT application is bound with Android Activity, then it will follow the Android process life cycle. At the same time, there is aframebuffer/input adapter between QT and Android.
read the source code:
http://qt.gitorious.org/qt/blacktass-android-lighthouse/blobs/ed10b2237ebbeeacf6243a462a7b157be028a691/src/android/java/com/nokia/qt/QtActivity.java
We know clearly about the relationship QtApplication and QtActivity in Android.
相关文章推荐
- 控制台出现abd端口被占用,导致android项目不能正常运行
- Qt for Android调用Android接口将程序移到后台/前台运行
- eclipse新建android项目运行提示“Conversion to Dalvik format failed with error 1”
- 升级到Android Stduio 2.3 运行cordova项目报错Error: Could not find gradle wrapper within android sdk
- android每次运行项目有时需要重新启动一个新的模拟器的解决办法
- 只有被测APK时运行Robotium测试项目Logcat报错“Could not find class 'com.jayway.android.robotium.solo.Solo'"
- cocos2dx3.4-android项目eclipse运行报错CDT',Properties下c/c++build无法打开
- Eclipse中Android项目运行时出现Unable to execute dex: java.nio.BufferOverflowException. Check the Eclipse l
- 还在羡慕iOS应用多吗?Cider项目让Android也能运行iOS应用
- 问题:在运行android的项目时出现的异常
- Android-图像识别项目OpenCV(2):运行官方例子中的脸部识别程序
- Hello World程序演示Qt项目的建立、编译、运行和发布
- 关于android运行项目The connection to adb is down, and a severe error has occured。让我们重启eclipse问题
- qt android 添加程序运行中文名称
- 记录一次在虚拟机中运行android项目崩溃问题
- 【Qt】项目搬移到另外一台电脑无法打开/运行解决办法
- 在Eclipse中每次运行android项目的时候总是会自动重启开启模拟器
- android sutdio 运行项目报错java.io.IOException: Failed to read zip file
- Android运行Socket项目时出现错误 Error: ShouldNotReachHere()
- QT 运行QMake生成Pro项目文件