Skip to content

Sanya-123/lvgl_port_qt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lvgl_port_qt

A simple LVGL Simulator. Use QImage(QLabel) or QWidget for drawing.

Requirements

  • Qt (tested with 5.12.8)

Build

git clone --recursive https://github.com/Sanya-123/lvgl_port_qt.git
cd lvgl_port_qt
mkdir ./build
cd ./build
cmake ../ # or cmake -DRUN_DEMO=<demo> -DWIDGET_TYPE="<widget>" ../

Add demo

For adding demos you need:

  • Create folder in "localexample" with headers and source files
  • Run findIncludes.sh in "localexample" folder or add your includes files in "examples.h"
  • Rebuild project

Select demo

By defoult is select lv_demo_widgets;
You can selected any demos and examples from folders: localexamples, lvgl/demos and lvgl/examples;
You need just set RUN_DEMO(ex: cmake -DRUN_DEMO=lv_example_btn_1 ../ or cmake -DRUN_DEMO=lv_demo_music ../);

Select widget type

You can select widget type betwen QLabel and QWidget;
By defoult is select QLabel;
For select type just set WIDGET_TYPE="QWidget" or "QLabel";

About

run LVGL using Qt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published