Results 1 to 10 of 10

Thread: Attemping to use Qt 4.6 breaks make command

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    2

    Default Re: Attemping to use Qt 4.6 breaks make command

    Thanks toreo for shedding some light on this.

    Quote Originally Posted by toreo View Post
    2009.01 was the last version with make.bat.
    I see, so do we now have to type "mingw32-make" every time to compile? Any ideas why the bat file was removed?

    Quote Originally Posted by toreo View Post
    Learning later about the background of mingw32-make and its lack of features, I have since dropped making this customization.
    Where can I read about these issues? Is it ever advisable to use anything other than mingw32-make?

    Thanks.
    Qt 4.5 2009.01 | Qwt 5.2.0 | MinGW 5.1.4 | Windows XP SP3

  2. #2
    Join Date
    Dec 2009
    Posts
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanked 4 Times in 3 Posts

    Default Re: Attemping to use Qt 4.6 breaks make command

    Quote Originally Posted by ajoffe View Post
    I see, so do we now have to type "mingw32-make" every time to compile? Any ideas why the bat file was removed?


    Where can I read about these issues? Is it ever advisable to use anything other than mingw32-make?
    I don't know why the bat file was removed (haven't seen any official comment by Nokia on it), but I can guess that it was to avoid confusion with the POSIX make that comes with MSYS. The POSIX make tool will expect POSIX style paths and requires either MSYS (i.e /c/src/myproj) or Cygwin (i.e /cygdrive/c/src/myproj) as opposed to Windows drive letters and backslashes. Attempting to combine the two path styles normally result in massive headaches and broken builds.

    mingw32-make has fewer dependencies than a POSIX make and can be run from cmd.exe. So it's a quicker, simpler solution that supports Windows paths and is supported by default from Nokia's distribution. To have qmake generate makefiles with POSIX paths you have to rebuild qmake as well. You will find more information about this by googling for "qt msys" for instance. Depending on your choice of IDE it may or may not be possible to get it to build using MSYS. That would give you a more powerful shell to work in, and your make tool would support parallel builds, but it will take some work to get there. YMMV.

    There's a brief and vague mention on the difference between mingw32-make and make in the MinGW FAQ, other than that I guess the source code and googling are your best options for learning more.

    -Tore

  3. The following user says thank you to toreo for this useful post:

    ajoffe (4th December 2009)

  4. #3
    Join Date
    Jul 2009
    Posts
    8
    Thanks
    2

    Default Re: Attemping to use Qt 4.6 breaks make command

    Thanks for explaining, that makes sense. I don't use MSYS but I can see why the old make.bat would be problematic in that context.
    Qt 4.5 2009.01 | Qwt 5.2.0 | MinGW 5.1.4 | Windows XP SP3

Similar Threads

  1. make: command not found, Error: 127
    By ct in forum General Programming
    Replies: 3
    Last Post: 21st April 2015, 08:19
  2. Replies: 8
    Last Post: 27th October 2009, 09:07
  3. Cant find make command: mingw32-make.exe
    By Nadia in forum Installation and Deployment
    Replies: 1
    Last Post: 26th August 2009, 09:09
  4. 'make' is not recognized as an internal or external command
    By jivanr in forum Installation and Deployment
    Replies: 1
    Last Post: 9th June 2007, 15:55
  5. Compiling with Qmake/Make
    By VireX in forum Newbie
    Replies: 25
    Last Post: 22nd February 2007, 05:57

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.