Skip to content

furushchev/rqt_qml

Repository files navigation

rqt_qml

Qt QML Integrated GUI for Robots

Installation

This package is built on the top of Qt5 and its python binding called PyQt5.

sudo apt install \
    python-pyqt5.qtquick \
    qtdeclarative5-controls-plugin \
    qml-module-qtquick-dialogs

Usage

  1. Create GUI using QML. (See example in qml directory)

  2. Load QML in RQT Plugin

    rqt_qml $(rospack find rqt_qml)/qml/simple.qml

The launch file additionally defines LIBOVERLAY_SCROLLBAR environment variable and set it to 0 to avoid QT GTK+ bug on Ubuntu. If you do not have any scrollbars in your QML graphical interface then the variable can be omitted.

For Developers

Create a new plugin

To add your own QML plugins (either written in Python or C++) use <rqt_qml> tag in export section of a package.xml in your package, for instance:

  <export>
    <rqt_qml plugins="${prefix}/my_qml_plugins_dir"/>
  </export>

If a relative path supplied to plugins attribute, it will be treated as relative to Qt plugins directory, for example:

About

Qt QML integration for Robot GUI prototyping

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages