Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.1
-
None
-
Android / Windows 10 MSVC15
-
-
da4dcc0893fce3555b35d931801f94f472593742
Description
I'm compiling Android on Windows and when pro file has someting like:
android { CONFIG(debug, debug|release) { DESTDIR = $$shadowed($$PWD)/../../build/debug } }
then Makefiile would look like this:
..\..\build\debug\$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) @if not exist ..\..\build\debug\ mkdir ..\..\build\debug\ & if not exist ..\..\build\debug\ exit 1 -$(DEL_FILE) $(TARGET) $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) -$(MOVE) $(TARGET) ..\..\build\debug\
However the move command is invalid. The trailing backslash won't work.
It should be $(MOVE) $(TARGET) ..\..\build\debug
In 5.9.3 that was able to manually fix in Makefile after every build, but that won't work anymore in 5.11.1, but I had to update, as in 5.9.3 Android debugging won't work.
Attachments
Issue Links
- is duplicated by
-
QTBUG-69618 Building Android project cause to error
- Closed
- relates to
-
QTBUG-35713 Fails to build library projects for Android on windows
- Closed
-
QTBUG-72037 [Android] qtcreator failed to copy the target .so file to the destination directory
- Closed