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. [SOLVED] Unable to deploy freshly created project to android
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Unable to deploy freshly created project to android

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 1.2k Views 2 Watching
  • 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.
  • R Offline
    R Offline
    RudolfVonKrugstein
    wrote on last edited by RudolfVonKrugstein
    #1

    Hi,

    I am using Qt 5.5. and qtcreator 3.4.2. I am on Windows 8.1.
    When I create one of the android examples from the welcome screen (in my case the Anchor Layout example) it works. I can deploy and test it on android.

    But when I create a new project and try to deploy it to android, the process stops at step 3 of 5 and I get the error:

    [install target] Error 1
    

    In the "build-problems" tab.

    Now on the "compilation" tab it says:

    16:53:34: Führe Schritte für Projekt qtwidgetstest aus...
    16:53:34: Unveränderte Konfiguration, qmake-Schritt wird übersprungen.
    16:53:34: Starte "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe"
    C:\Qt\5.5\android_armv7\bin\qmake.exe -spec android-g++ "CONFIG+=debug" -o Makefile ..\qtwidgetstest\qtwidgetstest.pro
    Das System kann den angegebenen Pfad nicht finden.
    mingw32-make: Nothing to be done for 'first'.
    16:53:35: Der Prozess "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" wurde normal beendet.
    16:53:35: Starte "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Mira\Documents\PROMPT\qt tests\build-qtwidgetstest-Android_f_r_armeabi_v7a_GCC_4_9_Qt_5_5_0-Debug\android-build" install
    Das System kann den angegebenen Pfad nicht finden.
    Das System kann den angegebenen Pfad nicht finden.
    
    makefile:1664: recipe for target 'install_target' failed
    
    mingw32-make: *** [install_target] Error 1
    16:53:36: Der Prozess "C:\Qt\Tools\mingw492_32\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet.
    Fehler beim Erstellen/Deployment des Projekts qtwidgetstest (Kit: Android für armeabi-v7a (GCC 4.9, Qt 5.5.0))
    Bei der Ausführung von Schritt "Anwendungsdaten kopieren"
    
    16:53:36: Verstrichene Zeit: 00:02.
    

    It tells me that it can not find some path, but it does not tell which path is the problem.

    Thanks for any help,
    Nathan

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The first thing I would do is remove the space you have in your path. e.g. use "qt_tests" rather than "qt test". Spaces in paths are often a problem on Windows

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • R Offline
        R Offline
        RudolfVonKrugstein
        wrote on last edited by
        #3

        That was it! Thanks!

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You're welcome !

          Since you have it working now, please update the thread title prepending [solved] so other forum users may know a solution has been found :)

          Also, consider up voting answer(s) you find useful while browsing threads, it will help other users to find them more easily :)

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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