Intentionally broken calculator app, based on Qt 5.6 Calculator example. http://doc.qt.io/qt-5/qtwidgets-widgets-calculator-example.html
Note that the crashes only work when compiled in debug mode. The contents of the zip file in dist-debug directory should provide the desired functionality. As is, on Windows.
SPOILER ALERT! Do not scroll below this bicycle if you want to explore and find all the 10 issues with the software yourself. They're not necessarily all bugs in a strict sense, mind you.
._
|
|
|L___,
.' '. T
: * :_|
'._.' L
List of Bugs in Buggy Calc V0.8
- Keys change color when pressed except for "Clear" and "Backspace".
- Substract operator "-" functions like the addition operator "+"
- Pressing key "8" displays "88"
- The calculator is only usable by a mouse. (Issue also with original Qt example.)
- The "Backspace" key functions like the "Clear" key and v.v.
- Dividing by 0 crashes the application.
- Long press on any key crashes the application.
- The "Sqrt" does not work.
- Double click anywhere outside the the keys crashes the application.
- Having more than two consecutive calculations then pressing "=" crashes the application.
Ideation: Hashem Alsayadi
Implementation: Olli Savolainen
License: LGPL