Results 1 to 18 of 18

Thread: Reduce build times on Windows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2011
    Location
    Piteå, Sweden
    Posts
    13
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11

    Default Reduce build times on Windows

    Greetings

    We are currently having an issue with build times on the Windows platform while the Linux builders can build our project really fast:
    Linux: 11m:43s <-- Release
    Windows: 57m:37s <-- Debug
    Windows: 1h:22m <-- Release

    I went through the build log and saw that the moc generation can be extremely slow, especially when it comes to the unit tests. For example:
    [01:48:43]: MOC ..\..\PathToTest\TestFile.cpp
    [01:48:51]: Compiling...
    [01:48:51]: TestFile.cpp

    That's a 300 line file using the QTest framework, nothing fancy. Is there any way we can speed up this process or are there some pitfalls we should try to avoid? We're using Qt 4.6.2.

    Edit: I found this post which seems to observe the same symptoms but without a solution.

    Edit: We tried to disable Windows Defender but it had no impact on the build time.
    Last edited by MarcoAlanen; 21st January 2011 at 10:21.

Similar Threads

  1. Can't build qwt in Windows
    By MattPhillips in forum Qwt
    Replies: 2
    Last Post: 26th December 2009, 16:18
  2. Build Qt in Windows
    By graciano in forum Installation and Deployment
    Replies: 2
    Last Post: 12th May 2009, 12:51
  3. Replies: 3
    Last Post: 28th December 2007, 11:02
  4. Cant build exe in windows
    By drinu21 in forum Qt Programming
    Replies: 3
    Last Post: 13th November 2007, 16:11
  5. Replies: 10
    Last Post: 25th February 2007, 00:23

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.