Qt Inject Linux/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 2.x)
Zur Navigation springen Zur Suche springen
(QtQuick mit LibV2)
 
(Eine dazwischenliegende Version von einem anderen Benutzer wird nicht angezeigt)
Zeile 1: Zeile 1:
[[Qt_Inject_Linux|Deutsche Version]] | '''English Version'''
----
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.


Zeile 12: Zeile 14:


and connect expecco <q>Gui Browser</q> via QT-Bridge.
and connect expecco <q>Gui Browser</q> via QT-Bridge.

====Logingt====

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_Windows#Logging|Qt Inject for Windows - Logging]]


----
----

Aktuelle Version vom 27. März 2024, 11:12 Uhr

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



Copyright © 2014-2024 eXept Software AG