|This articles only applies to Squish for Qt for Qt 3.x and Qt 4.x.
This article does not apply to Squish for Qt for Qt 5.x.
The Squish for Qt binary packages for Linux ship with several example applications. However, to keep the download size of the package small, the Qt libraries are not provided.
The following instructions can be used to use the example applications anyway.
These steps demonstrate how to get the addressbook example (<SQUISH_DIR>/examples/qt4/addressbook) up and running:
Step 1 - Download the Qt libraries that match your Squish package (if the right one is not listed, please contact Squish support):
- Qt 4.x, 32-bit:
- Qt 4.x, 64-bit:
- Qt 3.x, 32-bit:
- Qt 3.x, 64-bit:
Step 2 - Unpack the downloaded Qt library archive into the folder of the addressbook example application.
Step 3 - Download addressbook.sh.tar.gz and unpack it into the folder of the example application.
|At this point you should be able to run the file addressbook.sh from a terminal or shell and it should start the addressbook example application.|
Step 4 - Register addressbook and addressbook.sh as Mapped AUTs (in Squish IDE at Edit > Server Settings > Manage AUTs...).
Step 5 - Enable sub-process hooking in the test suite settings.
Step 6 - Select addressbook.sh as AUT in the test suite settings.
|Please also note that you need to repeat the above steps and adjust the above file addressbook.sh slightly in order to use it for any of the other example applications shipping with Squish.|