[Development] qmake's custom install failed on Android

Denis Shienkov denis.shienkov at gmail.com
Fri Jan 12 21:00:45 CET 2018


 > 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/9aa4816c/attachment.html>


More information about the Development mailing list