Results 1 to 3 of 3

Thread: How to use "make -j" for Qt Applications?

  1. #1
    Join Date
    Apr 2008
    Posts
    39
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to use "make -j" for Qt Applications?

    Hi there!

    I want to use all cores for compiling my application. How to do that with MinGW (Windows)?

    At first, I got this error:

    D:\Projekte\eclipse_workspace\uman\src>make -j 2
    mingw32-make: Do not specify -j or --jobs if sh.exe is not available.
    mingw32-make: Resetting make for single job mode.
    If I use a proper shell (sh.exe), it just compiles - but with only one core.

    Any ideas?

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: How to use "make -j" for Qt Applications?

    as I know mingw doesn't support this feature only gcc under *nix

  3. #3
    Join Date
    Aug 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to use "make -j" for Qt Applications?

    So what do I have to add to my .pro file to make make run with more than one job,
    i.e. how to tell qmake to run make -j? Hmmm?

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.