| 1 |
QBrew Installation |
| 2 |
=================== |
| 3 |
|
| 4 |
These instructions are for building and installing QBrew from source |
| 5 |
code. QBrew requires the Qt 4.3 or greater development libraries. These |
| 6 |
can be found at <http://www.trolltech.com>. Some Linux distributions |
| 7 |
separate Qt into separate runtime and development packages. If this |
| 8 |
is your case, Make sure you have both. QBrew uses the qmake tool to |
| 9 |
generate makefiles, and thus depends on a properly configured Qt |
| 10 |
installation. |
| 11 |
|
| 12 |
Note that I am not providing installation support for QBrew, and will |
| 13 |
consider such a submission to be a bug report as opposed to a support |
| 14 |
request. I can be contacted at <[email protected]>. |
| 15 |
|
| 16 |
Sincerely, |
| 17 |
David Johnson |
| 18 |
|
| 19 |
Unix Build |
| 20 |
========== |
| 21 |
|
| 22 |
0) Make sure the prerequisite Qt library is installed. |
| 23 |
|
| 24 |
1) Unarchive the source code package, and change into its directory. |
| 25 |
|
| 26 |
2) Type './configure --help", and peruse the configure options available. |
| 27 |
It may be necessary to use one or more of these options on your system. |
| 28 |
|
| 29 |
3) Type './configure' to configure the package for your system. If you're |
| 30 |
using `csh', you might need to type `sh ./configure' instead. |
| 31 |
|
| 32 |
4) Type 'make' to compile the package. |
| 33 |
|
| 34 |
5) Login, su or sudo to root. This is not necessary if you |
| 35 |
configured the package to install to your home directory. |
| 36 |
|
| 37 |
6) Type 'make install' to install the program and documentation. |
| 38 |
|
| 39 |
7) Type `qbrew' to run the program. |
| 40 |
|
| 41 |
Mac OSX Build |
| 42 |
============= |
| 43 |
|
| 44 |
0) Make sure the prerequisite Qt library is installed. |
| 45 |
|
| 46 |
1) Unarchive the source code package, and change into its directory. |
| 47 |
|
| 48 |
2) Set Qt related environment variables (assumes bash shell): |
| 49 |
QTDIR=/Developer/qt (or as appropriate) |
| 50 |
QMAKESPEC=macx-g++ |
| 51 |
PATH=$PATH:$QTDIR/bin |
| 52 |
export QTDIR QMAKESPEC PATH |
| 53 |
|
| 54 |
3) Build the package: |
| 55 |
qmake -o Makefile qbrew.pro |
| 56 |
make |
| 57 |
|
| 58 |
4) Populate the application bundle |
| 59 |
make install |
| 60 |
|
| 61 |
5) You may wish to include the Qt runtime with the application bundle. Please |
| 62 |
see the "Deploying on Application on Qt/Mac" article for more information. |
| 63 |
A deployment script is included in the mac directory, that may be useful. |
| 64 |
|
| 65 |
6) Now move the application bundle to your desired location |
| 66 |
mv qbrew.app ~/Desktop |
| 67 |
|
| 68 |
Windows Build |
| 69 |
============= |
| 70 |
|
| 71 |
0) Make sure the prerequisite Qt library is installed. |
| 72 |
|
| 73 |
1) Unarchive the source code package, and change into its directory. |
| 74 |
|
| 75 |
2) Build the package: |
| 76 |
qmake qbrew.pro |
| 77 |
make (or nmake) |
| 78 |
|
| 79 |
4) Place into a final installation directory, with the following minimum |
| 80 |
structure: |
| 81 |
qbrew.exe |
| 82 |
splash.png |
| 83 |
datafile |
| 84 |
doc\html\* (all html help files) |
| 85 |
translations\* (all qm files) |
| 86 |
|
| 87 |
5) You may also wish to include the Qt DLL and other runtime libraries in the |
| 88 |
installation directory. |