View Full Version : QT programming on Mac os x

17th January 2008, 09:41

I was thinking of buying myself a Macbook, so I was wondering if there are any obvious disadvantages of these machines when it comes to QT programming? Like, is QT a second class citizen on these machines or will the finished programs be as beautiful and fast as their linux/windows versions? Are the class library as complete? Are updates as frequent? Is it easy to distribute QT based applications for the Mac OS ?

13th March 2008, 18:01
All your answers can be answered as YES :D

15th May 2008, 08:39
can you share any info on whats the best way to start programming on Qt on Mac OS? some articles or books?

4th June 2008, 05:33
I would recommend getting some beginning Qt 4 books. Search Amazon.com and you will be able to find some. Qt is portable in every way between Windows, Linux and Mac. The class library is exactly the same on each platform. That's what makes it portable. All that you need to get started with Qt 4 on Mac OS X is the Apple Developer Tools and a good IDE like QDevelop for Mac OS X. QDevelop was coded in Qt 4.3 so it is fairly new. The most recent version of Qt is 4.4.0. I have a tri-booting system with Windows XP, Linux Ubuntu Hardy Heron, and Mac OS X. Ask about any questions regarding setup on any of the three platforms. I will be glad to help.

4th June 2008, 20:27
If you are not afraid of the command line, then Mac OSX is an excellent Unix environment. You can use any text editor you want (Emacs, vi, bbedit, etc). But if you want a real IDE, then you probably want to use Xcode (which comes with OSX). Qmake will generate Xcode project files, but otherwise it is not well integrated. QDevelop is a good alternative though.

5th June 2008, 02:52
I'm able to use xcode and build the application. But the built application doesnot run on macs which are based on powerpc. how can I build the code which run on both power pc and intel macs?

5th June 2008, 18:34
Mac information is scattered throughout the documentation. Here are the notes for building Universal Binaries:

Creating Universal Binaries (http://doc.trolltech.com/4.4/qmake-platform-notes.html#creating-universal-binaries)

You may also be interested in these pages:

Architecture Dependencies (http://doc.trolltech.com/4.4/deployment-mac.html#architecture-dependencies)
Qt/Mac-Specific Issues (http://doc.trolltech.com/4.4/mac-differences.html)