/Qt.C++, /raspberryPi

Compile Qt for Raspberry Pi

Compile Qt for RaspberryPi In order to use Qt on Raspberry Pi with all features, you need to compile it manually. There are different ways. In this tutorial, the Cross Compiling method will be used. The tutorials on wiki.qt.io - RaspberryPi2EGLFS and tal.org - Building Qt 5.10 for Raspberry Pi on Debian Stretch serves as the basis.… Weiterlesen Compile Qt for Raspberry Pi


Save your Qt Quick app settings easily with LocalStorage

Every application need to store smaller and larger information persistently. This can be done locally on the file system or remote on a server.Qt comes with an LocalStorage API, which provides the ability to access local offline storage in an SQL database from QML and JavaScript. The underlying file is an sqlite database. It can be… Weiterlesen Save your Qt Quick app settings easily with LocalStorage


Qt Quick Navigation Drawer

I have recently been involved in developing several apps for Android and iOS using Qt Quick. It continues to amaze me how productive you can be when using Qt Quick compared to writing native code for these platforms. That said, there are still a few things that Qt does not provide out-of-the box while targeting these platforms.… Weiterlesen Qt Quick Navigation Drawer


GPU drawing using ShaderEffects in QtQuick

A ShaderEffect is a QML item that takes a GLSL shader program allowing applications to render using the GPU directly. Using only property values as input as with the Canvas in our previous article, we will show how a ShaderEffect can be used to generate a different kind visual content, with even better performances. We… Weiterlesen GPU drawing using ShaderEffects in QtQuick


Designing assets for app developers

The development of apps is becoming more professional. As a result of this specialists like graphic designers are more often the creators of the look of an app these days. However, it's still very much the realm of the programmer to deconstruct the design - and breath life into it. As a graphic designer, you… Weiterlesen Designing assets for app developers


Deploy Qt Quick Applications on Windows with windeployqt

Deploying Qt applications on windows, can be made with windeployqt.exe. It can be found in "C:\Qt\5.4\mingw491_32\bin" Deploy Application 1. Open CMD which is settet with Qt Environment 2. change to directory where your binary is. cd C:\path\to\folder\release example: cd C:\Users\fecub\Documents\Qt.workspace\build-HCWorkFlow-Desktop_Qt_5_4_0_MinGW_32bit-Release 3. Type the following command: windeployqt.exe . --qmldir \project\folder\ "." = currentDirectory "--qmldir" = path… Weiterlesen Deploy Qt Quick Applications on Windows with windeployqt


Git preparation for Qt in windows

Extras -> Git -> Repository Erzeugen Ordner auswählen ok Extras -> Git -> Lokales Repository -> Commit Extras -> Git -> Entferntes Repository -> Remotes Verwalten Hinzufügen, name = Repo name auf bitbucket, link = link auf bitbcuket CMD öffnen und in lokale qt project repo wechseln und ausführen E:\Qt.Projects\Projects\ProjectName> & 'C:\Program Files (x86)\Git\bin\git.exe' push --set-upstream name master  … Weiterlesen Git preparation for Qt in windows


Compile/Create MySQL driver for Qt5 on Linux/Android/Windows

Create MySQL driver for Qt5 on LinuxI am working on a QT project on Ubuntu and I needed to use the MySql database driver for it. In previous versions of QT, it used to be the default installed library but with QT 2010.2 installation (4.6 and above), it is not the default installation. So, it requires… Weiterlesen Compile/Create MySQL driver for Qt5 on Linux/Android/Windows