- Registration
- Authentication
- Transactions
- Replenish
- Withdraw
- Transfer
- Credits
- Deposits
- Regular Payments
Probably the simplest way to launch the application is to do it from Qt Creator
.
However, if this is not an option for you, next I will show how to do it with command line
and cmake
Before we start, please add Qt bin
location (e.g. C:\Qt\5.15.1\mingw81_64\bin
) to your path
environment variable.
Otherwise, you will have to manually copy dlls to your build directory,
define environment variables in your run configuration (e.g. QT_QPA_PLATFORM_PLUGIN_PATH
) and configure other nasty stuff
- cd <project root>
- mkdir build
- cd build
- cmake -G <Generator> ..
- make
- ATM
cmake -G
- To list all generators
If make
doesn't work for you, try cmake --build build --target ATM
from project root
Attention: unable to open database file Error opening database means that the path to the
database file, which is located in ./db_file/bank_database.sqlite
, is incorrect. Please, specify the correct
path in main.cpp
db.setDatabaseName("correct/path");
Card Number | Pin | Balance |
---|---|---|
4441531154931232 | 5001 | 95512.38 |
5555555555555555 | 0005 | 2165 |
4441645380621636 | 6396 | 0 |