Calculator is a modern Qt Quick desktop application built with CMake and Qt 6. It provides a clean, responsive user interface for basic arithmetic operations and is designed as a polished example of a Qt Quick calculator app.
- Responsive calculator UI built with QML
- Supports addition, subtraction, multiplication, and division
- Clean input handling for operator replacement and numeric entry
- Simple keyboard-friendly design for desktop use
mkdir -p build
cd build
cmake ..
cmake --build .From the build directory:
./calsrc/main.cpp— application launcher and Qt setupsrc/main.qml— main QML user interfaceCMakeLists.txt— build configuration for Qt 6 and QMLpreview/img1.png— application preview image
- Qt 6
- CMake 4.0 or newer
This project is ideal for exploring Qt Quick applications with CMake and demonstrates a compact, professional calculator interface.
