QML Viewer

Configuration Options

At startup, the QML Viewer reads a file called /application/src/settings.conf.

The settings.conf has the following configuration options:

main_view="./content/mainview.qml"

This is the path to the main QML file.

socket_path="/tmp/tioSocket"

This is the path to the TIO Agent socket file.

enable_ack="false"

This option enables lookup acknowledgments. There are four ACK codes returned by the QML Viewer.

  • LUOK – Look Up OK. The QML Viewer found the object and set the property.
  • LUNO – Look Up No Object. The QML Viewer could not find the object.
  • LUNP – Look Up No Property. The QML Viewer found the object but could not set the property.
  • SYNERR – Syntax Error. The messages were not in objectName.property=value format.
hearbeat_interval="0"
  • With this enabled the QML Viewer will send out a ping message at the specified interval. The interval is in seconds. If the QML Viewer does not receive a pong message before the next interval the QML Viewer will emit a noHearbeat signal running QML. If the QML Viewer does receive a pong message the QML Viewer will emit a heartbeat signal. This allows the executing QML code to exchange heartbeats with an external device.
full_screen="true"
  • Run the QML Viewer in Full-Screen mode.
hide_curosr="true"
  • Hide the window cursor.

Console Output

If you need to see the QML Viewer console output, use these commands from the display module debug console to restart the QML Viewer:

killall qml-viewer
export QWS_MOUSE_PROTO=tslib:$TSLIB_TSDEVICE
/application/bin/qml-viewer -qws

The console output will then be visible on the debug console.

Embedded Touchscreens Made Easy:
Up in Days, Smoothly to Production. Get started with a Development Kit.

Reach Technology is now a part of Novanta.

Sales and Engineering
545 First Street
Lake Oswego, OR 97034
503-675-6464
sales@reachtech.com
techsupport@reachtech.com

Manufacturing
4600 Campus Place
Mukilteo, WA 98275
service@reachtech.com

Please send payments to:
Novanta Corporation
PO Box 15905
Chicago, IL 60693
accounts.receivable
@novanta.com