Nice... Yes, I have. But it's not used at all. I build using Qt Creator...

On 12/16/2020 12:07 PM, Kai Köhne wrote:

Hi,

Do you have a sh.exe in PATH? If so , qmake assumes you’re running in a Cygwin shell.


Regards


Kai

*From:* Interest <interest-boun...@qt-project.org> *On Behalf Of *Alexander Dyagilev
*Sent:* Wednesday, December 16, 2020 9:20 AM
*To:* interest <Interest@qt-project.org>
*Subject:* [Interest] shell_path, QMAKE_COPY, etc. are broken when building for Android under Windows

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.

_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to