使用命令行编译Qt Android apps
来源:互联网 发布:linux 目录权限 编辑:程序博客网 时间:2024/05/16 07:01
最近群内有人问到如何使用命令行来编译Qt for Android的项目
google之后得一文章,遂来分享一二
Qt comes with a quite handy IDE: Qt Creator. Sometimes we wanna automate our the builds or we wanna just use the CLI because we wanna customize more the building process. This post will illustrate the way how to build your Qt application using the command line interface on Linux.STEP 1 – Installing dependenciesFirst of all we need to Download and install the following sowftware:a. Javab. the Latest Android NDK (https://developer.android.com/tools/sdk/ndk/index.html#Installing) c. Qt SDKd. Android Studio bundle (which contains the Android SDK)I’ll assume you are able to unpack tarballs and install .run files.. so I’ll go forward! In case you need help, feel free to drop a line in the comments!STEP 2 – Setting up environment variablesHere is the list of environment variables needed by Qt tools.export JAVA_HOME=/home/gnuton/jdk1.7.0_21export ANDROID_HOME=/home/gnuton/Desktop/Android/SDK/android-studio/sdkexport ANDROID_NDK_ROOT = /home/gnuton/Desktop/Android/NDK/android-ndk-r9d STEP 3 – Build it!! cd my-qt-app/home/gnuton/Desktop/Android/QtAndroid53Beta/5.3/android_armv7/bin/qmake && make && make install以上是该文章内容,具体请查看Build Qt Android apps Using the CLI
0 0
- 使用命令行编译Qt Android apps
- 使用命令行编译QT helloworld 项目
- 命令行编译Qt源程序
- QT 命令行编译工程
- Qt 命令行编译
- 命令行编译Qt程序
- Qt命令行编译
- 使用 ANT 命令行编译 Android 工程
- 使用命令行编译和安装Android程序
- WINDOWS下命令行编译QT
- WINDOWS下命令行编译QT
- windows命令行编译QT应用程序
- nmake命令行编译Qt项目
- windows命令行编译QT应用程序
- 命令行下编译Qt工程?
- Android Apps Shape的使用
- 【Qt】命令行编译Qt程序(nmake)【转】
- 命令行编译android apk
- c++11中的tuple(元组)
- servlet中实现页面转发
- Android Mms专题之:Mms源码结构
- leetcode Next Permutation
- 责任链模式
- 使用命令行编译Qt Android apps
- SpringMVC强大的数据绑定(2)——第六章 注解式控制器详解——跟着开涛学SpringMVC
- 【转】初识linux平台C++开发
- java多线程:ReentrantReadWriteLock读写锁的使用
- 设计模式学习笔记(二):门面模式【Facade】(二) 问题的改进
- tomcat起步在80端口 Permission denied <null>80
- Android数字签名解析(二)
- 第1次实验——NPC问题(回溯算法、聚类分析)
- [Android]SQLite 学习笔记