Qt Inject Linux/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Alkurz (Diskussion | Beiträge) |
Alkurz (Diskussion | Beiträge) (QtQuick mit LibV2) |
||
Zeile 1: | Zeile 1: | ||
With expecco version 20.1. it is possible, to test a Qt application without modifying the code. |
With expecco version 20.1. it is possible, to test a Qt application without modifying the code. |
||
The files |
The necessary files are located in the directory <i><expecco-installation-dir>/packages/exept/expecco/plugin/qt/expeccoQtClient/expecceTestService_InjectTool_Unix</i>: |
||
* inject.sh |
* <i>inject.sh</i> |
||
* injector.so <br> (or the corresponding one for your computer architecture (e.g. injector_32_arm.so). You have to rename this file to <i>injector.so</i> because the <i>inject.sh</i> script expects this name) |
* <i>injector.so</i> <br> (or the corresponding one for your computer architecture (e.g. injector_32_arm.so). You have to rename this file to <i>injector.so</i> because the <i>inject.sh</i> script expects this name) |
||
Please copy the Qt version |
Please copy the Qt version-dependent ExpeccoTestService library from <i><expecco-installation-dir>/packages/exept/expecco/plugin/qt/expeccoQtClient/expeccoTestService/bin/linux/gcc_x64_Qt<qtVersion>/</i> in this directory. |
||
* <i>libExpeccoTestService.so.1</i> or <i>libExpeccoTestService_V2.so.1</i> (Qt Quick/QML support; in this case, please rename the file to <i>libExpeccoTestService.so.1</i>.) |
|||
* libExpeccoTestService.so.1 |
|||
Now you can start your application with |
Now you can start your application with |
Version vom 17. Januar 2022, 09:19 Uhr
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.
Back to Qt Plugin Reference