Click here to Skip to main content
Licence 
First Posted 4 Jun 2005
Views 25,362
Bookmarked 23 times

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

By | 4 Jun 2005 | Article
Qt Designer and Compilers

Sample Image - Qt002.jpg

Introduction

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)
  HP aC++  HP-UX
  Intel C++  Linux
  KAI C++  Linux
  MIPSpro  IRIX
  Forte Developer / Sun Studio  Solaris
  IBM xlC  AIX

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.

X11

  AIX  - 4.1 or later
  BSD/OS  - 2.0 or later
  DG/UX  
  Embedded  
  FreeBSD  - 2.1 or later
  HP-UX  - 10.20 or later
  IRIX  - 6.x
  Linux  
  NetBSD  
  OpenBSD  
  OpenServer  
  QNX  
  Reliant UNIX  
  Solaris  - 2.5.1 or later
  Tru64 UNIX  - 4.0 or later
  UnixWare  

Windows

  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! ;-)

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!

 

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

About the Author

WillianBR

Software Developer

Brazil Brazil

Member

Follow on Twitter Follow on Twitter
Developer:
- MS VB6
- C/C++/C#
- VBScript
- JScript
- Clipper
- Cobol
- Natural
- Pascal
- TCL/Tk
- Python
___________________________________
Willian Silva Rodrigues
http://www.williansilva.com.br
http://br.linkedin.com/in/willianbr
--- --- --- ---
Radio(NXTL):55*112*109193
BBM PIN: 238d4349
___________________________________

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board. (secure sign-in)
 
Search this forum  
 FAQ
    Noise  Layout  Per page   
  Refresh
QuestionWhy in the C#/.NET section? PinmemberJudah Himango14:44 4 Jun '05  
AnswerRe: Why in the C#/.NET section? Pinmemberdiilbert23:57 4 Jun '05  

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.

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