Setup: Win32

Table of contents:

Setup Win32

There are two versions of Qt available on Win32 platforms.

  1. The open-source edition, which supports MinGW[6] (the Minimalist Gnu for Windows), can be downloaded and used for free with open-source projects.

    [6] http://www.mingw.org/

  2. The Qt 4 Commercial Edition can be used with Microsoft compilers, such as Microsoft Visual C++ 6, and later versions of Developer's Studio.

Installing either edition is a snap: The Win32 installer guides you through the process, registers extensions, and sets environment variables for you. The open-source edition can even download and install MinGW for you.

After Qt is installed, you should click

Start -> Programs -> Qt by Trolltech -> Build debug symbols

This may take a couple of hours.

Next, open a shell window by clicking

Start -> Programs -> Qt by Trolltech -> Command Prompt

Now you can run qmake -v from the command prompt to see the currently installed version of Qt. qmake, assistant, designer, qTDemo, qtconfig, g++, and make should all be findable in your search path now.

Try the qtdemo that is also available from the Start menu.

MSYS (from MinGW) and Cygwin[7] both offer bash and xterm-like shell windows to simulate a *nix system in Win32 environments.

[7] http://www.cygwin.com

For building the Qt debug symbols, we found that the configure and make scripts did not work. However, for building our own apps, we have been able to run qmake and make inside a bash shell from Cygwin.



Part I: Introduction to C++ and Qt 4

C++ Introduction

Classes

Introduction to Qt

Lists

Functions

Inheritance and Polymorphism

Part II: Higher-Level Programming

Libraries

Introduction to Design Patterns

QObject

Generics and Containers

Qt GUI Widgets

Concurrency

Validation and Regular Expressions

Parsing XML

Meta Objects, Properties, and Reflective Programming

More Design Patterns

Models and Views

Qt SQL Classes

Part III: C++ Language Reference

Types and Expressions

Scope and Storage Class

Statements and Control Structures

Memory Access

Chapter Summary

Inheritance in Detail

Miscellaneous Topics

Part IV: Programming Assignments

MP3 Jukebox Assignments

Part V: Appendices

MP3 Jukebox Assignments

Bibliography

MP3 Jukebox Assignments



An Introduction to Design Patterns in C++ with Qt 4
An Introduction to Design Patterns in C++ with Qt 4
ISBN: 0131879057
EAN: 2147483647
Year: 2004
Pages: 268

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net