Skip to content

uglide/rocketpilot-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RocketPilot-Driver aka RocketPilot Qt Testability Driver

What is this?

This is Qt testability driver which allows RocketPilot (Autopilot fork) to inspect the internals of Qt5 / QML-based applications.

Goals of fork

  • Improve introspection ✅
  • Add OSX support ✅
  • Add Windows support ✅

How does it work?

Qt loads a 'qt_testability' library, if either the -testability command line argument is passed to QCoreApplication, or if the QT_LOAD_TESTABILITY environment variable is set. This codebase provides that library, along with several others.

Upon being loaded, it connects to the system bus, and exposes an interface that the RocketPilot knows how to interact with.

Build

Ubuntu

sudo apt-get install libxpathselect-dev
qmake
make -j 2

macOS

brew install boost
cd 3rdparty/xpathselect
qmake
make -j 2
cd ../../
qmake
make -j 2

Windows

  1. Install nuget https://www.nuget.org/downloads
  2. Install boost lib:
cd 3rdparty/xpathselect
nuget install boost -Version 1.71.0
  1. Build xpathselect (3rdparty/xpathselect) using QtCreator
  2. Build rocketpilot-driver