Click here to Skip to main content
Click here to Skip to main content

Development of applications of Cross-Platform with Qt and MSVC++ - Part 2

, 4 Jun 2005 CPOL
Rate this:
Please Sign up or sign in to vote.
Qt Designer and Compilers

Sample Image - Qt002.jpg


In the last article I talked about the first steps of the creation of a program example using Qt and MSVC++. Now I will supply some details on this library and the resources that it offers to the planner of softwares.

Qt Compiler Notes

See the compilers' options and their architectures below:

Visual C++ Windows 95/98/Me/NT/2000/XP
Compaq C++ Tru64
GCC most platforms (Linux. FreeBSD, etc)
Intel C++ Linux
KAI C++ Linux
Forte Developer / Sun Studio Solaris

Platform Notes

Now, we will look at the options of platforms. See the platforms and their respective support libraries below. In case the reader wants details on a specific platform, I recommend to seek the manufacturer's site to obtain more details.


AIX - 4.1 or later
BSD/OS - 2.0 or later
FreeBSD - 2.1 or later
HP-UX - 10.20 or later
IRIX - 6.x
Reliant UNIX
Solaris - 2.5.1 or later
Tru64 UNIX - 4.0 or later


Windows 95
Windows 98 and Me
Windows NT (4.0 or later), 2000, and XP
XLib on Windows

Mac OS X

Mac OS X (all versions)

Using Visual C++ 6.0

· no longer support version 5 and earlier.

· Fix all bugs installing Service Pack 5.

· Use a tiny path to QTDIR (C:\QT\3.c)

· VC++ 6.0 Linker doesn’t support filenames with spaces (C:\Program Files\Qt\3.x), try use QTDIR=C:\QT\3.X).

· Be carrefull with alignment flags like /Zp2

· The Qt 3.2.x can use .NET and VC++ 6.0.

· Forget “Visual C++ Toolkit 2003”, it don’t will work, sorry.

If you will develop tools or programs of public domain, then you don't need to pay for the commercial license of QT, it can use the version no commercial "qt-win-noncommercial-msvc-3.2.1.exe".

Be careful, because these programs should be distributed with the sources codes. And that you do is useful for a lot of others people, order copy of the code for the manufacturer of Qt.

See the list of the operating systems and the name of the file of distribution of the no-commercial editions.

Microsoft Windows => qt-win-noncommercial-msvc-3.2.1.exe

MacOS => qt-mac-free-3.2.1.tar.gz

Linux => qt-x11-free-3.2.1.tar.gz

There's a old version of Qt 2.30 . It's work fine! Wink | ;-)

You can get a trial version of QT. You can find good books about QT programming on internet.

· C++ GUI Programming with Qt 3 (Jasmin Blanchette and Mark Summerfield)

· Qt. Professional programming with C++ , Russian (Max Schlee)

· Qt/KDE 2 Programming (MingChe Chuang)

· Programming With Qt (Matthias Kalle Dalheimer)

· Qt Programming in 24 hours (Daniel Solin)

· Qt Programming for Linux and Windows 2000 (Patrick Ward Prentice)

We did ties now it went to talk about Qt and their functionalities and restrictions. Now, I will make an abbreviation introduction about IDE of Qt. It will allow you to create screens and codify their programs easily. The qmake will generate the intermediate files, necessary to transform the interface projects in code C++. The interface files has extension *.UI.

This is the template dialog. Look the samples, But you can create their models.

Template dialog

I will talk more about Qt Designer in the next article.

Any doubt or text no readable and only to scream!


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer
Brazil Brazil
- MS VB6
- C/C++/C#
- VBScript
- JScript
- Clipper
- Cobol
- Natural
- Pascal
- TCL/Tk
- Python
Willian Silva Rodrigues
--- --- --- ---
BBM PIN: 238d4349
Follow on   Twitter

Comments and Discussions

QuestionWhy in the C#/.NET section? PinmemberJudah Himango4-Jun-05 15:44 
AnswerRe: Why in the C#/.NET section? Pinmemberdiilbert5-Jun-05 0:57 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150326.1 | Last Updated 4 Jun 2005
Article Copyright 2005 by WillianBR
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid