Compiling the iTest source code
Other versions of this document: Russian
Requirements: Qt 4.3.x or a newer, binary compatible version
The are two ways to compile iTest:
- Use the build script (recommended)
- Download and install Squirrel Shell: sourceforge.net/projects/squirrelsh/
- To run the script, follow these instructions:
- Under Windows, open the "Qt 4.3.x Command Prompt" from the Start menu. Change directory to that of
the iTest source code. Example:
cd iTest-<version>-src
Type:
build.nut
- Under Linux or Unix, open the terminal and change directory to that of
the iTest source code. Example:
cd iTest-<version>-src
Type:
./build.nut
- When the process finishes, you may run the program (the Server). You can do so by typing:
./iTestServer under Linux/Unix
open iTestServer.app under Mac OS X
iTestServer under Windows
For the Client, merely replace "iTestServer" with "iTestClient".
- Compile manually
- Download the source code (iTest-<version>-src.tar.gz)
- Extract the file (under Linux, you can do so by typing tar -xf iTest-<version>-src.tar.gz; under Windows, you can use tools such as 7-Zip or WinRAR)
- Open the terminal, if you haven't done so yet, and change directory to the newly extracted one (cd iTest-<version>-src)
- Type in the following commands, hitting Return (Enter) after each. The last one may take some time, especially under Windows or on slower computers.
cd iTestServer
qmake -config release
lrelease iTest.pro
cd ..
cd iTestClient
qmake -config release
lrelease iTestWri.pro
cd ..
qmake -config release
make
- When the process finishes, you may run the program (the Server). You can do so by typing:
./iTestServer under Linux/Unix
open iTestServer.app under Mac OS X
iTestServer under Windows
For the Client, merely replace "iTestServer" with "iTestClient".
|