Windows
What you need:
- Qt 3.3.4+/Windows Enterprise Edition from http://www.trolltech.com (not available as OpenSource!)
- QSA 1.1.3+/Windows from http://www.trolltech.com for BrickStore versions >= 1.1.0 (not available as OpenSource!)
- libcurl 0.7.14+ from http://curl.haxx.se/libcurl
How to compile: (I'm using MicroSoft VisualStudio.Net, although it should be possible to compile everything using MingW/GCC)
- Compile Qt using TrollTech?'s documentation (I'm only building static libs, but a DLL should also work fine)
- Compile QSA using TrollTech?'s documentation.
- Compile libcurl using the supplied INSTALL file.
- Make sure that %QTDIR% is set to point to your Qt installation and that your %PATH% contains %QTDIR%\bin.
- If you are using the Qt-VisualStudio integration, you can simply open the brickstore.pro file with the Import Qt-Project command.
Otherwise you can open a command prompt, cd to the brickstore directory and call qmake there (make sure your %QMAKESPEC% is set correctly in this case). - Compile the software by either pressing F7 oder executing nmake
- You can optionally create a MSI installer package by running win32-installer\create.bat <version-number> from a command prompt (cd to the brickstore directory first).
Linux/X11 (Debian, Unbuntu, SuSE and RedHat)
The easiest way to compile for these systems is to use the package generation scripts:
- cd to the brickstore directory
- On DEB based distributions (Debian/Ubuntu?), run debian\create.sh <version number>
- On RPM based distributions (SuSE/RedHat), run rpm\create.sh <version number>
- The finished packages are located in debian|rpm/<version number>
- If something goes wrong with the auto-detection, you can either teach the create.sh about your system or you can use the Unix/X11 guide below.
Unix/X11
What you need:
- Qt 3.3.4+/X11 from http://www.trolltech.com
- QSA 1.1.3+/X11 from http://www.trolltech.com for BrickStore versions >= 1.1.0
- libcurl 0.7.14+ from http://curl.haxx.se/libcurl
How to compile:
- configure and make Qt using TrollTech?'s documentation (BrickStore needs threading as well as the Workspace, IconView, XML and Network modules)
- configure and make QSA (also threaded)
- configure and make libcurl
- Make sure that $QTDIR is set to point to your Qt installation and that your $PATH contains $QTDIR\bin.
- Set $QMAKESPEC to a valid value for your system (e.g. linux-g++ for Linux systems)
- cd to your brickstore directory and run qmake
- Run your standard make tool (this may be gmake on some systems)
- Optionally run make install to install BrickStore to /usr/local/
Mac OS X
You can either compile a X11 version using the Unix/X11 method or you can compile a Mac OS X native version:
What you need:
- Qt 3.3.4+/Mac from http://www.trolltech.com
- QSA 1.1.3+/Mac from http://www.trolltech.com for BrickStore versions >= 1.1.0
- libcurl 0.7.14+ from http://curl.haxx.se/libcurl
How to compile:
- Install XCode from Apple
- Follow the Unix/X11 guide, but don't execute the last installation step (also, $QMAKESPEC should be macx-g++).
- Run macx-bundle/create.sh <version number> to create a native Mac OS X application bundle (BrickStore) and also pack it into a DMG virtual disk image.