summaryrefslogtreecommitdiff
path: root/README.MacOS
blob: 2640cea093cf7ce85bfc157490622c57805a3307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Requirements:
-------------

1. Xcode (for the compiler and build tools)
2. A version of Qt 4.  I use HomeBrew to grab the latest version,
   presently Qt 4.8.6. Installing in HomeBrew is as easy as
		brew install qt

Building Quackle:
-----------------

Clone the repo.  Use qmake to build quackle.pro and quackleio/quackleio.pro:

	qmake quackle.pro && make
	cd quackleio && qmake && make && cd ..

Then make an Xcode project for quacker using qmake.

	cd quacker && qmake -spec macx-xcode && cd ..

You can now open the project in Xcode, build and run as usual.


Creating a self-contained bundle:
---------------------------------

You need to insert the Qt frameworks into this bundle, so that it can
run stand-alone, without any dependencies. You do that by running:

/Developer/Tools/Qt/macdeployqt Quackle.app -dmg

This will create a file, Quackle.dmg, containing the application bundle. You
can now distribute this. It should run on OSX 10.8 and later.