Installing Qt/Windows

Installing Qt Windows

When you insert the CD on a Windows machine, a setup program should start automatically. If this doesn't occur, run setup.exe located in the CD's root directory.

Figure A.1. Qt/Windows Non-Commercial installer


The setup program will ask you which compiler you want to use for Qt development. If you have chosen a Borland compiler, check the Install Appropriate Compiler option if you also want to install the compiler. If you check the Install Book Examples option, the example applications shown in this book will be installed in C:Qt3.2.1ook (assuming C:Qt3.2.1 is the location where you installed Qt).

If you choose to install a Borland compiler, note that there may be a delay between the completion of the Borland installation and the start of the Qt installation.

In the Qt installer, check the Set QTDIR option. If you are using Microsoft Visual C++, you must specify Visual Studio's path so that Qt can integrate itself with the development environment.

If you are installing on a Windows 95, 98, or ME system, the compilation step is skipped due to technical limitations in the operating system. The setup program writes the steps needed to build Qt into a batch file and puts a shortcut to the batch file in the Start menu. To build Qt, simply click this shortcut.

Some Windows versions may require a reboot to set the environment variables. If you installed Borland C++ Builder 5, you must update your PATH environment variable to include the Borland executable directory (for example, C:BorlandBcc55in). You must also create two configuration files in the Borland executable directory. The first file must be called bcc32.cfg and contain the lines


The second file must be called ilink32.cfg and contain the line


If you installed the Borland compiler in a non-default location, you must replace C:BorlandBcc55 with the appropriate path.

C++ GUI Programming with Qt 3
C++ GUI Programming with Qt 3
ISBN: 0131240722
EAN: 2147483647
Year: 2006
Pages: 140
Simiral book on Amazon © 2008-2017.
If you may any questions please contact us: