Qt Embedded Touchscreen

Reach Technology Qt embedded touchscreen modules make adding a touchscreen to an embedded system using Qt easy.

Qt IDE with Drag-and-Drop
Qt for Embedded Touchscreen

Our Qt embedded touchscreen modules allow you to use a Qt Integrated Development Environment with drag-and-drop tools to design a user interface. So, you can create high-performance embedded systems with user interfaces and deploy and test on Reach target hardware from day one. Qt has everything you need to design, develop, test, deploy and maintain your software throughout the product lifecycle of your embedded device.

Then, you can connect to the Qt embedded touchscreen G2/G3 modules using one of many I/O options. Modules interact with your system either via the module’s serial port to a microcontroller that handles I/O or directly using onboard interfaces including Ethernet, WiFi, USB, CAN, I2C, UART, etc. Compare Modules: Be sure to filter for “G2” and “G3” modules as our “SLCD” modules do not support Qt development.

Qt Embedded Touchscreen Integration Options

Choose between two main ways to connect modules to your system architecture.

Directly Using On-board Interfaces

G2 modules can act as miniature Linux panel PCs and connect to smart system components via any of their interfaces including Ethernet, WiFi, USB, CAN I2C, UART and more. Examples include:

  • Embedded Web servers
  • USB multifunction data acquisition modules
  • CAN motor controls

Contact us to see how we can make this work for your project.

Via Serial Port to Microcontroller

G2 modules run your GUI and connect to agents to perform your product’s core functions, such as running a skin laser. We provide the software components, which include a translation layer that insulates the core function microcontroller from GUI changes. This separation allows GUI design to be flexible without requiring the embedded microcontroller code to be changed.

Programming Options

While G2 modules are Linux-based –  you do not need to be a Linux developer to use them. Our solution allows developers to use Windows GUI tools and for Linux developers, we provide a Virtual Machine with all the tools needed to develop.

While our display modules are Linux-based – that doesn’t mean you need to be a Linux developer to use them.

Our solution allows developers to use Windows GUI tools to develop applications and then load them into our display module to run. Write a complete graphical interface, test it out on the PC, and then drag the application over to our module’s file system. We have developed a suite of drag-and-drop interface components for quick prototyping.

Whether you develop in Qt or QML, you can run the same code on the PC or the target. We do all the work of configuring Linux to run your GUI code and provide customers with custom start-up screens and specialized I/O agents (processes) to connect the GUI to the outside world.

To begin writing your code, we suggest you start by running one of our sample applications.

To begin writing your code, we suggest you start by running one of our sample applications. We provide a Linux Development Virtual Machine (VM) with all the tools you need:

  • Qt Creator for Module Applications – This Qt Creator shortcut is configured for developing applications to run on G2 modules. In this configuration, the Cross Compiler (see details below) path is added to Qt Creator for generating ARM executables that will run on the module.
  • Qt Creator for Desktop Applications – This Qt Creator shortcut is configured for desktop development and allows developers to code and debug  C/C++ applications in the development environment. Although executables generated in this configuration will not run in the module, this configuration allows for a simpler debugging or prototyping environment.
  • Serial Port USB0 – This is a GTKTerm instance configured for /dev/ttyUSB0. This is typically the debug console.
  • Serial Port USB1 – This is a GTKTerm instance configured for /dev/ttyUSB1. This is typically the application UART.
  • Connect to Server – This is a shortcut to open the Samba share running on the display module. After launching, select the following, and click Connect.
    • Server: [display module IP]
    • Type: Windows share
  • Download QML Components – This is a Chrome shortcut that downloads the G2 QML Component library.

Cross Compiler

To write C/C++ applications that will run on the display module, the source must be compiled with a cross compiler. The cross compiler is installed in /opt/reach/1.6.3. The 1.6.3 directory contains the script environment-setup-armv5te-reach-linux-gnueabi. This script, once sourced (with the sourcecommand), adds the correct paths to the environment for cross-compilation.

Deploy Application

When you’re ready to deploy your application to the display module, see the Linux Deploy page for more details.

Development Tools and Languages

Use development tools and languages familiar to you to design a user interface and control devices attached to a G2 module. There are a couple of options in addition to Qt Creator to consider.

Qt provides a complete development environment with a palette of drag-and-drop UI elements that can be customized as needed. G2 display modules come with a Qt license. See how to install Qt Creator.

QML Programming

QML is a markup language that will look familiar to Web programmers.

Qt Creator can dynamically write QML code via drag and drop. Use Reach Technology developed UI components (sliders, knobs, text) to create your interface and then add code to interface with the outside world. Use JavaScript for logic functionality as needed. Simple databases can be accessed directly.

We offer examples to get you up and running quickly. If you get stuck trying to implement a specific UI feature, we can help.

Qt Application Framework

Qt is a robust application framework for GUI and low-level systems programming in C++ and C.

You can also use QML to define your User Interface and use lower level Qt libraries to manage attached devices, I/O such as UART ports and TCP/IP, and low-level system calls.

We have examples to get you up and running quickly. If you get stuck trying to implement a specific UI feature, Reach Technology can help.

Check out our FAQ on Programming with Qt/QML/C++/C  for more information.

If you’d rather use a Web front-end, our display modules also offer a built-in web server using lighttpd so they can serve an embedded Web interface.

Take advantage of the flexibility of Linux. G2 modules can communicate using RS-232, RS-485, I2C, CAN, Ethernet, and USB. Work with us to create a custom build of your required Linux components, testing functionality, and working with your team as things change over time. We can provide a custom distribution of libraries as needed.

What is Qt for?

Qt is used for developing graphical user interfaces (GUIs) and multi-platform applications that run on all major desktop platforms and most mobile or embedded platforms. Most GUI programs created with Qt have a native-looking interface, in which case Qt is classified as a widget toolkit. Source: Wikipedia

What is a Qt Interface?

Qt is a cross-platform application and graphical user interface (GUI) framework, a toolkit, that is used for developing software that can be run on different hardware platforms and operating systems. Source: Techopedia

How does Qt Work?

Qt uses a command line tool that parses project files in order to generate “makefiles”, files that are used by compilers to build an application.

How can I get started with a Qt embedded touchscreen interface?

The number of options when adding a display or touchscreen to your product can be overwhelming. Let us know in the form below a bit about your project and what is important to you, and we will have an engineer from our team follow up with suggestions for you. Or pick up the phone and contact our pre-sales engineering team at 503-675-6464 or email techsupport@reachtech.com.

Qt Embedded Development Kit

Get Started Quickly with a Qt Embedded Touchscreen IDE Kit

Development Kits from Reach Technology include everything you need to create a full prototype using Qt quickly.

When you are ready, move smoothly into production with off-the-shelf display modules that offer 10+ years availability as a minimum. Kits come with all the hardware and software you need, including full technical support and a 100% satisfaction guarantee.

G2/G3 Development Kits Come with Qt IDE

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

4600 Campus Place
Mukilteo, WA 98275

Please send payments to:
Novanta Corporation
PO Box 15905
Chicago, IL 60693