All Projects → machinekoder → qml-oled-renderer

machinekoder / qml-oled-renderer

Licence: other
Renders QML applications to an SSD1309 OLED screen

Programming Languages

c
50402 projects - #5 most used programming language
C++
36643 projects - #6 most used programming language
QMake
1090 projects
QML
638 projects

Projects that are alternatives of or similar to qml-oled-renderer

QtIosCMake
📱 Deploy Qt Application for iOS with a single macro when using CMake.
Stars: ✭ 35 (+66.67%)
Mutual labels:  qml, qtquick
Qt3D-learn
Qt3D-learn
Stars: ✭ 36 (+71.43%)
Mutual labels:  qml, qtquick
vatsinator-legacy
An open-source Vatsim monitor
Stars: ✭ 12 (-42.86%)
Mutual labels:  qml, qtquick
Raspberry-ssd1306
ssd1306 Command Line Tool for Raspberry Pi
Stars: ✭ 34 (+61.9%)
Mutual labels:  oled, ssd1306
sp qt libs
C++11/Qt/QML библиотека, предназначенная для разработки мобильных приложенией под Android и iOS
Stars: ✭ 23 (+9.52%)
Mutual labels:  qml, qtquick
qt-quick-responsive-helper
A simple toolbar for QtQuick based applications, to let developers test different resolutions and dpi settings easily. It was made to be integrated with minimal effort (only one QML file), and to be configurable for your specific usage.
Stars: ✭ 26 (+23.81%)
Mutual labels:  qml, qtquick
g-timetracker
Global Time Tracker
Stars: ✭ 20 (-4.76%)
Mutual labels:  qml, qtquick
Project-Template
A template for modern C++ projects with useful features for developing cross-platform products.
Stars: ✭ 44 (+109.52%)
Mutual labels:  qml, qtquick
CatLearnQt
CatLearnQt,提供QWidget,Quick,网络,串口,基础库和示例。案例软件支持样式切换,与国际化。
Stars: ✭ 63 (+200%)
Mutual labels:  qml, qtquick
esp8266-oled-ssd1306-font-creator
Font creator for the esp8266-oled-ssd1306 library
Stars: ✭ 22 (+4.76%)
Mutual labels:  oled, ssd1306
QuickStreams
An asynchronous programming library for the QML programming language (Proof of Concept)
Stars: ✭ 42 (+100%)
Mutual labels:  qml, qtquick
NR1-UI
Userinterface for Volumio (RaspberryPi) with ssd1322 and ssd1306 oled display, spectrum bargraph, progress bar, LED functions, Standby-functions, 4 Buttons and Rotary Encoder.
Stars: ✭ 29 (+38.1%)
Mutual labels:  oled, ssd1306
TreeEdit
Qml TreeEdit with Controls2 (Qml树结构编辑器,使用Controls2实现)
Stars: ✭ 50 (+138.1%)
Mutual labels:  qml, qtquick
maxLibQt
A collection of C++ classes and QtQuick QML components for use with the Qt framework.
Stars: ✭ 18 (-14.29%)
Mutual labels:  qml, qtquick
QaterialGallery
🖼️ Qaterial Library Showcase.
Stars: ✭ 85 (+304.76%)
Mutual labels:  qml, qtquick
python-qt-live-coding
Live coding environment for Python, Qt and QML.
Stars: ✭ 35 (+66.67%)
Mutual labels:  qml, qtquick
qml-ar
Seamless Augmented Reality module for QML using UchiyaMarkers
Stars: ✭ 32 (+52.38%)
Mutual labels:  qml, qtquick
QtMobileApp
This repository contains basic template for Qt for mobile app development using QML and C++ as backend to access RESTful API's
Stars: ✭ 16 (-23.81%)
Mutual labels:  qml, qtquick
pardus-store
Pardus Application Store
Stars: ✭ 32 (+52.38%)
Mutual labels:  qml, qtquick
QtDemos
This is a demo about Qt5, including Qt Custom Widget, Qt Multithreaded Downloader, QML Video Player(using OpenGL, FFmpeg and SDL2)
Stars: ✭ 18 (-14.29%)
Mutual labels:  qml, qtquick

QML OLED Renderer

Renders a QML application to a SSD1306 OLED display.

OLED Display

import QtQuick 2.6

Item {
    id: root
    visible: true
    width: 128
    height: 64

    Rectangle {
        id: indicator
        anchors.bottom: parent.bottom
        anchors.bottomMargin: 5
        x: 5
        width: 15
        height: width
        radius: width / 2
        color: "black"
    }

    Text {
        anchors.centerIn: parent
        text: "Hello World!"
    }
}

Tested on the CHIP single board computer conected to TWI2.

CHIP Setup

Install

Requires Qt Version 5.4 or higher. For the Debian package install this means that you need at least the packages from Debian Stretch.

sudo apt install qtdeclarative5-dev qt5-default qtchooser qtbase5-dev qml-module-qtquick2

Then you can install the qml-oled-renderer with:

qmake
make
sudo make install

Usage

sage: qml-oled-renderer [options] source
Renders QML applications to a SSD1306 OLED display

Options:
  -h, --help               Displays this help.
  -w, --width <weight>     OLED screen width
  -b, --bus <bus>          I2C bus to which the OLED is connected
  -a, --address <address>  I2C address of the OLED screen
  -f, --fps <fps>          Number of frames to render per second

Arguments:
  source                   QML source file`

The OLED renderer does not work without any display device. You can easily create visual framebuffer device using XVfb:

sudo apt-get install xvfb

And the start the application as follows:

Xvfb -shmem -screen 0 128x64x16 &
DISPLAY=:0 qml-oled-renderer main.qml
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].