[Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows

Alexander Dyagilev alervdvcw at gmail.com
Wed Dec 16 09:19:32 CET 2020


Hello,

Is it known bug? Is there workaround?

What I mean:

The following in .pro file:

message(QMAKE_COPY=$$QMAKE_COPY)
message(shellpathforPWDis:$$shell_path($$PWD))

Generates the following outputs (under Windows OS):

When building for Windows (there is no bug):
Project MESSAGE: QMAKE_COPY = copy /y
Project MESSAGE: shell path for PWD is: C:\Work\Source\fdm-qml\ui

When building for Android (there is bug, things gets unusable):
Project MESSAGE: QMAKE_COPY = cp -f
Project MESSAGE: shell path for PWD is: /C/Work/Source/fdm-qml/ui

Windows does not understand cp command and the path obviously wrong too.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20201216/0797f31f/attachment.html>


More information about the Interest mailing list