Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6669547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T03:09:46+00:00 2026-05-26T03:09:46+00:00

I have a large project that uses the Qt framework and am trying to

  • 0

I have a large project that uses the Qt framework and am trying to find the fastest way to compile it on my Windows install.

On my linux machine at home I use 3 year old Linux Mint setup with a dual core (the machine is 3 years old not Linux Mint install), using: make -j2 both cores are used full(ish) and compiles the code relatively quick, around 10 minutes from clean build.

However on my work Windows PC which is 2.0 GHz Intel Core 2 Quad (XP) I can never seem to get the compiles to be as fast as my Linux box. The developer docs for the program recommend using Visual Studio C++ using the project file generated from cmake but that only seems to use one core and takes well over a hour to compile vs about 10 minutes (from clean build) on my Linux install.

I have tred using jom but even when using all the cores it still takes around an hour and half because it only seems to use small amounts of cpu on each core.

Doesn’t make sense to me that my old Linux machine builds quick but the quad core just slumps along.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T03:09:47+00:00Added an answer on May 26, 2026 at 3:09 am

    The following have helped the speed of our Windows C++ Qt builds, over the years:

    1. Customised the settings on our anti-virus software, to exclude from scanning the locations of our Source code, object code, and all headers and libraries we are building against (Visual Studio, Qt etc). (There’s a separate AV check that gets run overnight, to scan those excluded folders)
    2. Ran a comparison of build speeds under various different AV packages. (This was several years ago, but as a result, we moved from McAfee to Sophos)
    3. Made sure all files accessed during the build are on a local disk drive (we used to build against Qt on a network drive, but that killed the build performance)
    4. Made sure that Visual Studio is configured to do multiple compile steps at once: This answer shows various ways of doing that.
    5. Increased the amount of RAM: we’re finding these days that 4 GB is the absolute minimum, for a sizable code base
    6. Switched from static to dynamic linking, to massively shorten link times.
    7. Moved to new versions of Visual Studio, as MS has improved performance: see this Visual Studio 2010 page, and search for ‘Faster Compilation’

    Our Windows builds are still slower than Linux ones, but I can’t say that’s a fair comparison, as our shared Linux build box is a much higher spec than developer PCs.

    (As an aside, if you haven’t seen them before, it’s worth reading what Jeff Atwood has to say about good configurations for developer PCs: e.g. the Programmer’s Bill of Rights)

    Update: 25/10/2012

    If you are on Visual Studio 2008, with DLL builds, I do not currently recommend moving to Visual Studio 2010: there is an issue with unnecessary re-linking of dependent projects that absolutely kills developer productivity, at least in a .sln with 20 or so .vcxproj files:

    • Unnecessary relinks of dependent projects when building with Visual Studio 2010

    There may be a solution to this – I’ll update later, once I’ve tested it – see Unnecessary relinks of dependent projects when building with Visual Studio 2010 where CORCOR said:

    If others have a similar problem:

    Turning off the manifestation creation for the DLL projects and
    turning it on only for the application project helps!

    With VS2008 this seemed to be no problem.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a smallish C++ Linux project that accompanies our large C++/MFC Windows project.
I am working on a large project that uses the STL and have a
I have a large GUI project that I'd like to port to Linux. What
I have a project that uses Apache Commons Logging & log4j with a large
I have a very large project that uses Oracle ODP.NET. Right now it is
I have a large web project that uses log4j directly, together with many 3rd-party
We have large C++ project that we used to compile with the /MP switch
I have a large project I'm working on (using Eclipse) that uses the 1.5
I have rather large project that uses ICU regex classes. Basically it might run
I have a fairly large work project that uses pygtk for the GUI and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.