Skip to content

Latest commit

 

History

History

LCDNumber2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

LCDNumber2

Shows how to create a LCD number with QLCDNumber.

Sources

src/LCDNumber2.h

src/LCDNumber2.cpp

CMakeLists.txt

Output

Screenshot

Generate and build

Qt Creator

To build these projects, open LCDNumber2.pro file with Qt Creator.

CMake

To build this project, open "Terminal" and type following lines:

Set CMAKE_PREFIX_PATH with Qt6 install path.

Windows :

mkdir build
cd build
cmake ..
start ./LCDNumber2.sln

macOS :

mkdir build
cd build
cmake .. -G "Xcode"
open ./LCDNumber2.xcodeproj

Linux with Code::Blocks :

mkdir build
cd build
cmake .. -G "CodeBlocks - Unix Makefiles"
xdg-open ./LCDNumber2.cbp > /dev/null 2>&1

Linux :

mkdir build
cd build
cmake .. 
cmake --build . --config Debug
./LCDNumber2