/qtcalculator

A simple calculator in Qt

Primary LanguageC++GNU General Public License v3.0GPL-3.0

QtCalculator

This is a simple calculator to learn qt

Installing Qt

  • Go to the Qt OSS download page and select your platform
  • Sign up or sign in and follow the installation steps for a default installation
  • Once done, open the Qt Maintenance Tool, select Add or remove components and check Qt 6.6.1
  • Click next, agree to the license and finish the installation

Building and running (Linux/Unix)

Clone the git repository

git clone https://github.com/tygoee/qtcalculator

Prepare the build

cmake src/ -DCMAKE_PREFIX_PATH=~/Qt/6.6.1/gcc_64 -B ./build

Build the program

~/Qt/Tools/CMake/bin/cmake --build ./build --target all

Run your build

./build/qtcalculator