Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [solved] - The process "... make.exe" exited with code 2
Forum Updated to NodeBB v4.3 + New Features

[solved] - The process "... make.exe" exited with code 2

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 12.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.
  • A Offline
    A Offline
    angelicaP
    wrote on last edited by angelicaP
    #1

    hi all,

    looks like every-time I jump to a newer Qt version, I have troubles running the old projects. This time I installed yesterday the Qt 5.4.1 for Android (Windows 32 bit), that contains the MinGW 4.9.1. operating system Win 7.

    I receive the following error:

    "
    11:56:11: Running steps for project amps3...
    11:56:11: Configuration unchanged, skipping qmake step.
    11:56:11: Starting: "C:\Qt\Qt5.4.1\Tools\mingw491_32\bin\mingw32-make.exe"
    C:/Qt/Qt5.4.1/Tools/mingw491_32/bin/mingw32-make -f Makefile.Release
    mingw32-make[1]: Entering directory 'C:/Users/A/Documents/QT_ex/tot/tot/build-tot-Desktop_Qt_5_4_1_MinGW_32bit-Debug'
    Makefile.Release:3319: warning: overriding recipe for target 'release/moc_amenu.cpp'
    …
    ./release\main.o: file not recognized: File truncated
    collect2.exe: error: ld returned 1 exit status
    Makefile.Release:265: recipe for target 'release\tot.exe' failed
    mingw32-make[1]: *** [release\tot.exe] Error 1
    mingw32-make[1]: Leaving directory 'C:/Users/A/Documents/QT_ex/tot/tot/build-tot-Desktop_Qt_5_4_1_MinGW_32bit-Debug'
    makefile:34: recipe for target 'release' failed
    mingw32-make: *** [release] Error 2
    11:59:21: The process "C:\Qt\Qt5.4.1\Tools\mingw491_32\bin\mingw32-make.exe" exited with code 2.
    Error while building/deploying project tot (kit: Desktop Qt 5.4.1 MinGW 32bit)
    When executing step "Make"
    11:59:21: Elapsed time: 03:10.
    "

    Any idea what's this all about?

    I checked the Project Build&Run setting, including the Environmental Paths.
    I'm lost.
    thanks for your input.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @angelicaP said:

      Configuration unchanged, skipping qmake step.

      This tells me that you are trying to compile with newer Qt version without properly cleaning the old build. Please make sure you remove the old Makefiles and then run qmake, and finally - rebuild the project. Should work.

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        angelicaP
        wrote on last edited by angelicaP
        #3

        thanks for your guideline. I managed to discover what was wrong: in .pro file all the headers were copied at least twice, same for sources and forms. no idea why.

        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