1 Introduction

About qt-libs

Working with Qtools requires working with CommonQt. This in turn currently requires working with SmokeQt. However, SmokeQt is not easily available on all platforms (especially OS X). This project should simply ensure that the libraries are either available by your system directly, or that they are built automatically for you. This ensures that Qtools can be used directly with hopefully no further user intervention being necessary.

The Details

There are two systems to be aware of: qt-lib-generator and qt-libs. The former is what's responsible for building and ensuring the external smoke libraries. The latter invokes the former if necessary, and stores the desired libraries in an easily accessible location, while also ensuring that CommonQt is tricked into using the proper paths when loading its libraries.

In effect this means that if you are running a project that depends on CommonQt (:qt), you should instead depend on :qt-libs, which will try to make sure that everything concerning foreign libraries will go smoothly. By default it uses prebuilt binaries that come from relatively recent, but not too recent systems. This should hopefully mean that all the dependant versions will be available on most systems out there. If that is not the case, you can try to build your own versions to ship.

In the future, CommonQt will use its own system to hook into Qt and drop Smoke support. When that time comes, this project will hopefully become obsolete. However, for the time being, Smoke is a necessary evil, and as such, this library hopes to make things a bit easier.

Precompiled Packages

Included in the precompiled packages for each platform are unless otherwise noted:

Qt 4.8.7

Qwt 5

QImageBlitz

QScintilla 2

Phonon

Smoke

SmokeQt

libcommonqt

Notes About the Platforms

Windows

You will need an x86-64 Windows copy, version 7 or higher. Lower versions might work, but I will not test them.

You can run both x86 and x86-64 versions of your implementation, but not both at the same time.

You do not need to install or download Qt itself. Qt-libs will download a precompiled version.

Drakma requires OpenSSL to download the archives. See https://slproweb.com/products/Win32OpenSSL.html. This is only required for the first-time setup. After that, drakma will not be loaded and you do not need to ship the SSL dlls for things to work.

QtTest is not available as it fails to build and despite hours being spent on it I cannot figure out how to fix it.

Linux

You will need an x86-64 Linux setup.

You can run both x86 and x86-64 versions of your implementation, although precompiled versions only exist for x86-64.

If you want to build the binaries yourself, you will need to install Qt. Preferably version 4.8.7 . The following packages should suffice for this: