Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator with Cmake - no make install step



  • Hey,
    This post is related to: https://forum.qt.io/topic/117671/assets-on-android-using-cmakelists
    I am trying to copy files into asset directory using CmakeLists.txt
    For some reason I can't find make install build step using Cmake...

    Any idea how to fix it?

    When I added manually this build step I got error:

    06:56:39: Starting: "E:\IT\Android\android-ndk-r19c\prebuilt\windows-x86_64\bin\make.exe" "INSTALL_ROOT=E:\Uzytkownicy\Awaria\Dokumenty\build-untitled11-Android_for_armeabi_v7a_Clang_Qt_5_13_1_android_armv7-Debug\android-build" install
    Makefile:37: *** missing separator.  Stop.
    06:56:39: The process "E:\IT\Android\android-ndk-r19c\prebuilt\windows-x86_64\bin\make.exe" exited with code 2.
    Error while building/deploying project untitled11 (kit: Android for armeabi-v7a (Clang Qt 5.13.1 (android_armv7)))
    When executing step "Copy application data"
    

    and I can't change the order of these build steps...


  • Moderators

    I don't know the answer but I'd definitely recommend using newer Qt for this. Cmake support for Android is a new thing, it may work better in newer release (like 5.15).


Log in to reply