Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Mingw32-make instead of make
Forum Updated to NodeBB v4.3 + New Features

Mingw32-make instead of make

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 30.5k Views 1 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.
  • _ Offline
    _ Offline
    __teoREtik__
    wrote on last edited by
    #1

    I installed Qt SDK 1.1.1 on my windows 7 PC and had some time to look through documentation about building and compiling Qt projects. I found that to build my project I need to use make.exe tool which location is pointed in environment variables during install Qt SDK on PC.

    I was also looking through Qt SDK file system and didn't found make.exe in QtSDK\Desktop\mingw\bin only in QtSDK\Symbian directories. Instead of it there is mingw32-make.exe which I assume is the same. Will it be bad if I rename mingw32-make.exe to make.exe?

    I develop in Eclipse for Java Developers with installed CDT plugin and qt plugin and Eclipse can't build my project automatically when I save it, because (as I assume) it try to launch make.exe instead of mingw32-make.exe.

    Allso (correct me if I'm wrong) I think if I would build my projetcs manually using Windows command line I should use mingw32-make.exe instead of make.exe, as describe in official documentation isn't it?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      mingw32-make.exe is mingw's version of make, and nmake is the MSVC version of it. Use the one that belongs to the toolchain you're building with.

      1 Reply Last reply
      0
      • _ Offline
        _ Offline
        __teoREtik__
        wrote on last edited by
        #3

        I use mingw32-make, because it is situated in Qt's SDK. But my question is: how can I integrate it with eclispe?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          ViRuSTriNiTy
          wrote on last edited by
          #4

          Hi,

          you have to set your PATH environment variable to MinGW MSYS.

          You need MSYS for correct execution of the make files (which uses UNIX commands -> MSYS) generated by the Qt integration plugin. So do the following steps to fix the problem:

          1. uninstall your current MinGW installation
          2. reinstall MinGW and select the following option in the setup dialog
            a) Custom
            b) Compilers C & C++
            c) MSYS
          3. extend your PATH environment variable in the System Properties / Environment Variables dialog of windows by adding C:\MinGW\msys\1.0\bin;C:\MinGW\bin; in front of the values that are already there
          4. restart machine
          5. create new Qt project and try building it

          Now make.exe (C:\MinGW\msys\1.0\bin\make.exe) will be called correctly.

          It took me hours to figure that out.

          So lonG

          1 Reply Last reply
          0
          • V Offline
            V Offline
            ViRuSTriNiTy
            wrote on last edited by
            #5

            "I use mingw32-make, because it is situated in Qt’s SDK"

            I experienced several problems by trying to use mingw32-make of the Qt SDK too. So i recommend you to download the Qt libraries and install MinGW seperately as i mentioned above.

            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