PDA

View Full Version : Problems installing QT on Window 7 x64



icegongju
4th November 2010, 14:26
Hello. I'm really noob at this. >.<

I have read around instructions on installing QT but they tend to differ at places. These websites tend to underestimate my idiocy level by skipping implicit steps...

I have been following the instructions from this website, since it has more inputs with the IDE i'm using (dev-c++).

http://www.infernodevelopment.com/installing-qt-443-windows-various-methods

I have got past the echo instructions. however, there is no CONFIGURE command in windows cmd.

How can i continue to configure if I don't have MSVC? (I find MSVC difficult to use>.<)

Kindly help me out.

ChrisW67
4th November 2010, 21:55
There's an equivalent configure.exe in the source code root directory for those disadvantaged by Windows. It looks like you skipped the first part of:


2) Ok now you should be set, Start->Run->"cmd" and now in the console go to C:\Qt\4.4.3 or wherever your Qt is installed, and first test the variable "QTDIR" by typing "echo %QTDIR%" it should display your path to Qt. That is, "CD C:\Qt\4.4.3".

The instructions you linked to will give you a 32-bit Qt install. If you just want to use Qt on a Windows 7 64-bit version, and don't need to generate 64-bit native binaries, then just grab the SDK from http://qt.nokia.com/downloads, install it, and save yourself a bunch of time and effort. The SDK bundled 32-bit MingW compiler and matching Qt libraries work out-of-the-box.

If you need to build native 64-bit applications then you will have to build from source yourself. Since 64-bit builds of Qt on Windows (http://doc.qt.nokia.com/4.7/supported-platforms.html) is only supported with MSVC I don't know how far you will get with another compiler.