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