Nominate our 2022 Qt Champions!

[SOLVED] Problem of compilation for Android

  • Hello,

    I try to make a new soft with QT for Android.
    I installed all the components (QT 5.2.0, JDK, android SDK, Android NDK, apache) and configure QT with this "video":
    I start with new project QT with widgets and only compile for android.
    When i compile, no problem but i have this message : [install_target] Error 1

    17:46:28: Exécution des étapes pour le projet essai1...
    17:46:28: Configuration inchangée, étape qmake sautée.
    17:46:28: Débute : "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe"
    mingw32-make: Nothing to be done for 'first'.
    17:46:29: Le processus "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" s'est terminé normalement.
    17:46:29: Débute : "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\\Users\\Cédric\\Desktop\\C++\\Android\\build-essai1-Android_pour_armeabi_v7a_GCC_4_8_Qt_5_2_0-Release\\android-build" install
    Impossible de cr‚er le r‚pertoire ou le fichier.
    makefile:1677: recipe for target 'install_target' failed
    mingw32-make: *** [install_target] Error 1
    17:46:29: Le processus "C:\Qt\Tools\mingw48_32\bin\mingw32-make.exe" s'est terminé avec le code 2.
    Erreur lors de la compilation/déploiement du projet essai1 (kit : Android pour armeabi-v7a (GCC 4.8, Qt 5.2.0))
    Lors de l'exécution de l'étape "Copie des données de l'application"
    17:46:29: Temps écoulé : 00:01.

    Sorry i'm french.

    Do you know the problem ?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Just a wild guess, but it might be related to your path. Try again in a path that doesn't contain any accent or special char (é, +, etc.)

    Hope it helps

  • Hi and thanx for your welcome.
    You rock ! The problem was actually the path too long.
    Thanx again !

  • Lifetime Qt Champion

    You're welcome !

    Are you sure it's a path size and not an accented char problem ?

    Happy coding !

  • Hmm I will intend to see if it's not an accented char but I think no.

Log in to reply