Android: install java-related files
The jar files are deployed on the device. The files in the java directory are used by creator when making a new project. Change-Id: Ie59f40edaa9c10044a1ca9949808ee22e6622ea1 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
parent
08343e41a0
commit
79d4f5b628
@ -1,15 +1,2 @@
|
|||||||
CONFIG += java
|
TEMPLATE = subdirs
|
||||||
TARGET = QtAndroid
|
SUBDIRS = jar java
|
||||||
DESTDIR = $$[QT_INSTALL_PREFIX/get]/jar
|
|
||||||
|
|
||||||
PATHPREFIX = $$PWD/jar/src/org/qtproject/qt5/android/
|
|
||||||
|
|
||||||
JAVACLASSPATH += $$PWD/jar/src/
|
|
||||||
JAVASOURCES += \
|
|
||||||
$$PATHPREFIX/QtActivityDelegate.java \
|
|
||||||
$$PATHPREFIX/QtEditText.java \
|
|
||||||
$$PATHPREFIX/QtInputConnection.java \
|
|
||||||
$$PATHPREFIX/QtLayout.java \
|
|
||||||
$$PATHPREFIX/QtNative.java \
|
|
||||||
$$PATHPREFIX/QtNativeLibrariesDir.java \
|
|
||||||
$$PATHPREFIX/QtSurface.java
|
|
||||||
|
19
src/android/jar/jar.pro
Normal file
19
src/android/jar/jar.pro
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
CONFIG += java
|
||||||
|
TARGET = QtAndroid
|
||||||
|
DESTDIR = $$[QT_INSTALL_PREFIX/get]/jar
|
||||||
|
|
||||||
|
PATHPREFIX = $$PWD/src/org/qtproject/qt5/android/
|
||||||
|
|
||||||
|
JAVACLASSPATH += $$PWD/src/
|
||||||
|
JAVASOURCES += \
|
||||||
|
$$PATHPREFIX/QtActivityDelegate.java \
|
||||||
|
$$PATHPREFIX/QtEditText.java \
|
||||||
|
$$PATHPREFIX/QtInputConnection.java \
|
||||||
|
$$PATHPREFIX/QtLayout.java \
|
||||||
|
$$PATHPREFIX/QtNative.java \
|
||||||
|
$$PATHPREFIX/QtNativeLibrariesDir.java \
|
||||||
|
$$PATHPREFIX/QtSurface.java
|
||||||
|
|
||||||
|
# install
|
||||||
|
target.path = $$[QT_INSTALL_PREFIX]/jar
|
||||||
|
INSTALLS += target
|
8
src/android/java/java.pro
Normal file
8
src/android/java/java.pro
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
javaresources.files = \
|
||||||
|
$$PWD/AndroidManifest.xml \
|
||||||
|
$$PWD/res \
|
||||||
|
$$PWD/src
|
||||||
|
|
||||||
|
javaresources.path = $$[QT_INSTALL_PREFIX]/src/android/java
|
||||||
|
|
||||||
|
INSTALLS += javaresources
|
Loading…
Reference in New Issue
Block a user