Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Error in "install_target" when cross compiling Qt 5.15.14 for Android on Windows 11
Forum Updated to NodeBB v4.3 + New Features

Error in "install_target" when cross compiling Qt 5.15.14 for Android on Windows 11

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 149 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • HoratioH Offline
    HoratioH Offline
    Horatio
    wrote on last edited by Horatio
    #1

    I am cross compiling Qt 5.15.14 for Android (arm64 r21d API-29 clang) on Windows 11.
    The commit Id is e6c2b7b2641e6984b59b73df99684c14255710c3.

    I am seeing an error during install phase (install_target in Makefile) on the following two libs:

    libqml_QtQuick_Controls_Styles_Android_qtquickcontrolsandroidstyleplugin_arm64-v8a.so
    libqml_QtQuick_Controls.2_Universal_qtquickcontrols2universalstyleplugin-v8a.so

    Their Makefile are under:
    qt-android-5.15.14\build\qt\android29-r21d-arm64-v8a-clang\qtquickcontrols2\src\imports\controls\universal\Makefile
    qt-android-5.15.14\build\qt\android29-r21d-arm64-v8a-clang\qtquickcontrols\src\controls\Styles\Android\Makefile

    Take the 1st one as the example, in line 4765, it reads:
    $(QINSTALL_PROGRAM) ../../../../qml/QtQuick/Controls.2/Universal/$(TARGET) $(INSTALL_ROOT:@msyshack@%=%)/usr/qml/QtQuick/Controls.2/Universal/$(TARGET)

    The error message is:
    Cannot open reference file ../../../../qml/QtQuick/Controls.2/Universal/libqml_QtQuick_Controls.2_Universal_qtquickcontrols2universalstyleplugin_arm64-v8a.so: The system cannot find the path specified.Makefile:4763: recipe for target 'install_target' failed

    The 2nd Makefile has the same problem.
    The problem might be about the relative path. If the path is relative to the Makefile itself, then the path is correct. I can see the library here.
    I can complete the install phase if I change the path to an absolute path, but certainly I don't want to modify the autogened Makefiles.

    Are Qt team aware of this bug? Is there bugfix for this?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved