Giter Site home page Giter Site logo

linecode / qt-inspector Goto Github PK

View Code? Open in Web Editor NEW

This project forked from robertknight/qt-inspector

0.0 1.0 0.0 112 KB

Utility to browse the Qt object tree of a running Qt application and edit object properties on the fly.

License: GNU Lesser General Public License v3.0

C++ 95.34% CMake 4.45% C 0.22%

qt-inspector's Introduction

Qt Inspector

Qt Inspector is a tool to browse the object/widget tree of Qt applications.

Screenshot

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 <path to Qt inspector src>
	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 <program name> <args>
	./qtinspector <process ID of running Qt app>

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.

qt-inspector's People

Contributors

danvratil avatar horrendus avatar knjmooney avatar robertknight avatar stachujemiola avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.