[Development] qmake's custom install failed on Android
Denis Shienkov
denis.shienkov at gmail.com
Fri Jan 12 21:24:59 CET 2018
This solution:
https://stackoverflow.com/questions/25929467/qt-android-location-of-java-files-common-to-different-projects
does not work as well.
12.01.2018 23:00, Denis Shienkov пишет:
>
> > you can use COPIES
>
> It does not work as well if the ANDROID_PACKAGE_SOURCE_DIR is defined.
>
>
> 12.01.2018 22:31, Denis Shienkov пишет:
>>
>> In a real project I need to copy an external *.java
>> files to the android-build/src/org directory.
>>
>> Now, if I use the INSTALLS as following:
>>
>> gst_java.files =
>> $$libs_sourcedir/$$GST_SUPPORT_TARGET/android-sources/src/org/freedesktop/$$GST_MODULE_NAME/GStreamer.java
>> gst_java.path = /src/org/freedesktop/$$GST_MODULE_NAME
>> INSTALLS += gst_java
>>
>> then the resulting files are not copied to the
>> android-build/src/org/freedesktop/ if the
>> ANDROID_PACKAGE_SOURCE_DIR variable is defined.
>>
>> I doo not know how to use and ANDROID_PACKAGE_SOURCE_DIR
>> and INSTALLS together...
>>
>>
>> 12.01.2018 21:49, Oswald Buddenhagen пишет:
>>> On Fri, Jan 12, 2018 at 08:58:16PM +0300, Denis Shienkov wrote:
>>>> I need to use the INSTALLS feature on Android project
>>>> to copy of some files to the desired location.
>>>>
>>>> foo_bar.path = $$OUT_PWD/foobar
>>>> INSTALLS += foo_bar
>>>>
>>> that's positively wrong.
>>> for a non-install shadow build, you can use COPIES (if you do that
>>> outside qt, you're doing it at your own risk; it doesn't work with the
>>> IDE generators).
>>> an actual INSTALLS would never point into OUT_PWD, i.e., the build dir.
>>> _______________________________________________
>>> Development mailing list
>>> Development at qt-project.org
>>> http://lists.qt-project.org/mailman/listinfo/development
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20180112/3ed83456/attachment.html>
More information about the Development
mailing list