Qt Inject Linux/en
Deutsche Version | English Version
With expecco version 20.1. it is possible, to test a Qt application without modifying the code.
The necessary files are located in the directory <expecco-installation-dir>/packages/exept/expecco/plugin/qt/expeccoQtClient/expecceTestService_InjectTool_Unix:
- inject.sh
- injector.so
(or the corresponding one for your computer architecture (e.g. injector_32_arm.so). You have to rename this file to injector.so because the inject.sh script expects this name)
Please copy the Qt version-dependent ExpeccoTestService library from <expecco-installation-dir>/packages/exept/expecco/plugin/qt/expeccoQtClient/expeccoTestService/bin/linux/gcc_x64_Qt<qtVersion>/ in this directory.
- libExpeccoTestService.so.1 or libExpeccoTestService_V2.so.1 (Qt Quick/QML support; in this case, please rename the file to libExpeccoTestService.so.1.)
Now you can start your application with
./inject.sh <qt-application-to-test>
and connect expecco Gui Browser
via QT-Bridge.
Logingt[Bearbeiten]
You can activate logging and set a log level using the following line in inject.sh:
export ETS_QT_LOG_LEVEL=<Loglevel>
For possible values for log level, see Qt Inject for Windows - Logging
Back to Qt Plugin Reference