March 26, 2011

spacer2050 spacer2050
Lab Rat
2 posts

How to compile Qt 4.7.2 with VS 2010 64-bit on Win7 64-bit

 

Hi,
with configure options must i set to compile Qt 4.7.2 with Visual Studio 2010 as a 64-bit version on Windows 7 64-bit ?

Thanks

11 replies

March 26, 2011

Gerolf Gerolf
Area 51 Engineer
3213 posts

Juts call configure with MSVS 2010 options.
64 bit should be default on 64 bit machine, isn’t it?

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

March 26, 2011

spacer2050 spacer2050
Lab Rat
2 posts

with MSVS 2010 options do you mean?

March 26, 2011

Gerolf Gerolf
Area 51 Engineer
3213 posts

jep

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

March 26, 2011

Zlatomir Zlatomir
Robot Herder
327 posts

Gerolf wrote:
…64 bit should be default on 64 bit machine, isn’t it?

No, it is not.
Visual Studio has different cmds for 32bit, 64bit and Itanium, so you need to use the 64bit VS cmd.

//and make sure you installed the patch (for VS2010) that corrects the memory corruption bug about 64bit O2 and structures bigger than 64bit.

March 26, 2011

Scylla Scylla
Lab Rat
238 posts

Where I can get that patch, do you have link?

March 26, 2011

Zlatomir Zlatomir
Robot Herder
327 posts

Here [support.microsoft.com] you can find information about bug and link to the patch is in that page too.

March 26, 2011

Scylla Scylla
Lab Rat
238 posts

Thank you very much.

March 26, 2011

Zlatomir Zlatomir
Robot Herder
327 posts

Also the recently launched SP1 [support.microsoft.com] for Visual Studio 2010 list some more fixed issues about x64 (issues with C++ compiler and optimizations)

March 26, 2011

Scylla Scylla
Lab Rat
238 posts

So if I have already SP1 installed, the problem should be fixed?

March 26, 2011

Zlatomir Zlatomir
Robot Herder
327 posts

I don’t know, they don’t specifically say that SP1 include that fix, but that fix is older than SP1 and usually the Microsoft service packs include all older updates and patches – so SP1 should include that too.

March 26, 2011

Scylla Scylla
Lab Rat
238 posts

Ok, thank you very much.

 
  ‹‹ GUI looks bad on Solaris10      [Solved] Qt 4.7.2 and Qt Creator 2.1 already installed in computer : Do I require Qt SDK 1.1b? ››

You must log in to post a reply. Not a member yet? Register here!