Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Learning
  3. Qt in Education
  4. Android - Qt successfully deploys Examples but not a selfmade new project. [SOLVED]

Android - Qt successfully deploys Examples but not a selfmade new project. [SOLVED]

Scheduled Pinned Locked Moved Qt in Education
11 Posts 3 Posters 4.9k 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.
  • p3c0P Offline
    p3c0P Offline
    p3c0
    Moderators
    wrote on last edited by
    #2

    Hi,

    Can you post the complete Compile Output ?

    157

    1 Reply Last reply
    0
    • Arty.McLabinA Offline
      Arty.McLabinA Offline
      Arty.McLabin
      wrote on last edited by
      #3

      @23:35:12: Running steps for project Android2...
      23:35:12: Configuration unchanged, skipping qmake step.
      23:35:12: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe"
      mingw32-make: Nothing to be done for 'first'.
      23:35:15: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited normally.
      23:35:15: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug\android-build" install
      'Studio' is not recognized as an internal or external command,
      operable program or batch file.
      'Studio' is not recognized as an internal or external command,
      operable program or batch file.
      Makefile:1563: recipe for target 'install_target' failed
      mingw32-make: *** [install_target] Error 1
      23:35:16: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
      Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
      When executing step 'Copy application data'
      23:35:16: Elapsed time: 00:04.@

      Static linking is cool. Really.

      1 Reply Last reply
      0
      • p3c0P Offline
        p3c0P Offline
        p3c0
        Moderators
        wrote on last edited by
        #4

        From the output i see the same old problem of spaces on Windows
        @
        "C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug\android-build"
        @

        Try removing spaces from the name Visual Studio 2013 directory

        157

        1 Reply Last reply
        0
        • Arty.McLabinA Offline
          Arty.McLabinA Offline
          Arty.McLabin
          wrote on last edited by
          #5

          Strangely, i do not get the previous output code WITHOUT FOLLOWING YOUR INSTRUCTION!

          i just run it another time before trying to apply that space replace, and surprisingly i see the next thing:
          @mingw32-make: *** [install_target] Error 1
          04:03:24: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
          Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
          When executing step 'Copy application data'
          04:03:24: Elapsed time: 00:02.@

          nothing changed beside it tho, the same situation as the initial question description. Any clues?

          Static linking is cool. Really.

          1 Reply Last reply
          0
          • p3c0P Offline
            p3c0P Offline
            p3c0
            Moderators
            wrote on last edited by
            #6

            Can you post the complete compile output ?

            157

            1 Reply Last reply
            0
            • Arty.McLabinA Offline
              Arty.McLabinA Offline
              Arty.McLabin
              wrote on last edited by
              #7

              The previous message i've posted contains it, it is the full.

              Static linking is cool. Really.

              1 Reply Last reply
              0
              • p3c0P Offline
                p3c0P Offline
                p3c0
                Moderators
                wrote on last edited by
                #8

                @ mingw32-make: *** [install_target] Error 1
                04:03:24: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
                Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
                When executing step 'Copy application data'
                04:03:24: Elapsed time: 00:02.
                @

                But this doesnot reveal anything about the error ?
                Is this the only compile ouput now that gets printed on the console ?

                157

                1 Reply Last reply
                0
                • Arty.McLabinA Offline
                  Arty.McLabinA Offline
                  Arty.McLabin
                  wrote on last edited by
                  #9

                  @21:33:38: Running steps for project Android2...
                  21:33:38: Configuration unchanged, skipping qmake step.
                  21:33:38: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe"
                  mingw32-make: Nothing to be done for 'first'.
                  21:33:39: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited normally.
                  21:33:39: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Release\android-build" install
                  'Studio' is not recognized as an internal or external command,
                  operable program or batch file.
                  'Studio' is not recognized as an internal or external command,
                  operable program or batch file.
                  Makefile:1563: recipe for target 'install_target' failed
                  mingw32-make: *** [install_target] Error 1
                  21:33:40: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
                  Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
                  When executing step 'Copy application data'
                  21:33:40: Elapsed time: 00:02.@

                  I'm totally confused, every day i launch it, the compile output seem to give another code. all the 3 logs i posted are the complete output,
                  anyway its !http://i.imgur.com/rLT2Glp.jpg()!
                  the output i get now, as far as i know it shows all the compile output, does it?

                  Static linking is cool. Really.

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

                    Hi,

                    You should move you project in a path without any spaces, they are a source of trouble specially 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
                    0
                    • Arty.McLabinA Offline
                      Arty.McLabinA Offline
                      Arty.McLabin
                      wrote on last edited by
                      #11

                      Thank you guys, seems to be solved!

                      also sorry for not trying it the first time as p3c0 adviced, i tried to avoid MSVC directory renaming, as it is binded to many projects i made before, including non-Qt.

                      Static linking is cool. Really.

                      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