Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robertknight/Qt-Inspector
Utility to browse the Qt object tree of a running Qt application and edit object properties on the fly.
https://github.com/robertknight/Qt-Inspector
qt
Last synced: 2 months ago
JSON representation
Utility to browse the Qt object tree of a running Qt application and edit object properties on the fly.
- Host: GitHub
- URL: https://github.com/robertknight/Qt-Inspector
- Owner: robertknight
- License: lgpl-3.0
- Created: 2011-07-17T08:18:42.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-02-03T06:19:09.000Z (almost 3 years ago)
- Last Synced: 2024-11-13T21:04:16.140Z (2 months ago)
- Topics: qt
- Language: C++
- Homepage:
- Size: 109 KB
- Stars: 403
- Watchers: 35
- Forks: 70
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-qt - Qt-Inspector - Inspector) - Inspection tool with similar goals to GammaRay, though much simpler. (Tools / Third-Party Tools)
README
Qt Inspector
============Qt Inspector is a tool to browse the object/widget tree of Qt applications.
![Screenshot](http://2.bp.blogspot.com/-gZW9n7V-zgs/TiinbhFZNpI/AAAAAAAAABc/F3zpGbS73bE/s1600/inspector-dolphin-settings.png)
Qt Inspector starts a specified application or connects to a specified process
and once connected it can:- Browse the object tree of Qt applications.
- View properties of objects
- Edit properties of objects
- Locate a widget in the object tree by clicking on it in the application### Building Qt inspector
Qt Inspector currently runs on Linux and Mac.
You will need `protoc` in your PATH. On Debian/Ubuntu, install `protobuf-compiler`
and `libprotobuf-dev`.```
cmake
make -j2
```### Usage
Qt Inspector can either attach to an existing application or launch
a specified application and then attach to it.
Recommended usage is to specify the program name and arguments.```
./qtinspector
./qtinspector
```### Design
Qt Inspector operates by injecting a helper library into the target process
when starting it using LD_PRELOAD / DYLD_INSERT_LIBRARIES or via gdb
(if attaching to an existing process).
This helper library sets up a local socket and listens for requests
from the inspector process. The inspector and target process communicate via
protocol buffer messages over this socket.