Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building a 64-bit application with Qt

Tags:

64-bit

qt

I have only been using Qt (version 4.8) for about a week, and it is working like a charm. So far I have only built 32-bit applications with Qt creator, however I would like to build my application as a 64-bit application because it handles large data sets and requires lots of RAM. Can someone please tell me what are the steps involved to build a project from Qt creator as a 64-bit application ? Please note that my OS is Widows 7 Ultimate 64-bit, i also have Visual Studio 2010 Pro on the same machine. Thanks in advance

like image 296
Jeanno Avatar asked Oct 08 '22 11:10

Jeanno


2 Answers

From the Start Menu (MSVS2010 - VS Tools) start the "Visual Studio x64 Win64 Command Prompt" and then compile from the command line. It worked for me without problems but it takes a long time.

like image 77
Herr von Wurst Avatar answered Oct 17 '22 14:10

Herr von Wurst


I don't know if Qt supply a 64bit build but it's easy to do your own

Just fire up the visual studio 64bit tools cmd prompt, download the Qt source.
Then type configure -debug-and-release -opensource -platform win32-msvc2010 and nmake

like image 1
Martin Beckett Avatar answered Oct 17 '22 12:10

Martin Beckett