Learn how to develop C++/QML applications using Qt Creator IDE, while harnessing the full capabilities of the hardware with targeted cross-compiled build of Qt. This webinar will enable you to get the most out of the devices support out of the box with Qt for Device Creation and create highly performing SDKs for your own device of choice. During the webinar, we will present: * An overview of porting to an embedded device * Highlight the importance of leveraging full hardware acceleration (OpenGL ES, vfp), hardware curser support * Demonstrate custom Qt Wayland backend implementation for performance improvements * How to create an integrated Qt SDK for a target device & cross compile Qt conveniently for any device * Give guidance through the configure requirements required to get a performant version of Qt We will demonstrate the performance of Qt on a Raspberry Pi 2, which is packaged for both the Rasbian & Arch Linux distributions & shipped with full Qt Creator integration and basic Wayland compositor to leverage OpenGL for hardware acceleration. Find an unparalleled development experience through a step by step process from integrating Qt with, but not limited to, the Raspberry Pi 2 to offloading more computational work on to the Pi hardware to free precious developer resources for ambitious projects. Over 3 years ago, Qt was integrated on the Raspberry Pi, which included full hardware acceleration (OpenGL ES 2, vfp), hardware cursor support and a custom Qt Wayland backend implementation using Broadcom APIs. Although completed & publicly documented, packaging Qt in an optimal fashion has not been easy for a new user where mesa GL, no floating point unit usage, no Wayland, X11 standardization and on device compilation brings tears to any informed developers' eyes.
For Raspbian Jessie, qt5-default (Qt 5 development defaults package) is included in default repository. Here show how to install Qt5 and Qt Creator on Raspberry Pi 2 running frash new Raspbian Jessie, release 2016-02-09.
As my usual practice, update apt repository and firmware:
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo rpi-update
Then reboot if need.
Install xrdp, such than I can control Raspberry Pi remotely from Windows, and capture screen action.
$ sudo apt-get install xrdp
Once installed, you can run Qt Creator from desktop menu:
Menu > Programming > Qt Creator
or, enter the command in LXTerminal:
$ qtcreator
In my test, Qt Creator CANNOT run remotely from Windows using Microsoft Remote Desktop:
It can run locally:
And can run remotely from Windows using Putty/Xming:
As show in the videos, the code cannot be compiled with default setting caused by:
"Qt Creator needs a compiler set up to build. Configure a compiler in the kit options"
To fix it, refer to the above videos.
But, in my test, the compiler option cannot be saved, and I have to correct it every-time running Qt Creator.
Edit the file: /etc/apt/sources.list and add:
deb http://twolife.be/raspbian/ wheezy main backports
deb-src http://twolife.be/raspbian/ wheezy main backports