Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69618

Building Android project cause to error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.11.1
    • None
    • Windows 10
      Qt 5.11.1 for Windows
      SDK Version: 26.0.2
      NDK Version: 17.0.4754217
      MinGW 5.3.0
    • Windows

      My project is SUBFOLDERS but I think that doesn't matter. Anyway, the structure of subprojects is very simple:

      • lib1
      • lib2 (depends on lib1)
      • app (depends on lib1 and lib2)

      after starting the build (The project is qmake based) I see in console that all files is compiled without problem. But after compiling and linking step I see some strange error:

       

      move liblib1.so ..\..\subdirs\output\
      process_begin: CreateProcess(NULL, move liblib1.so "..\..\subdirs\output ", ...) failed.
      make (e=2): The system cannot find the file specified.
      make[1]: [..\..\subdirs\output\liblib1.so] Error 2 (ignored)
      

      it looks that move failed to find a file. Note that building the same project for Desktop pass that successfully. 

      The test project is in attachment. I used Android for x86 (GCC 4.9, Qt 5.11.1) for Android x86 kit

       

      The only workaround I've found is to replace make with mingw32-make.exe from MinGW folder in project settings.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            buddenha Oswald Buddenhagen
            folibis ruslan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes