A C++ inventory management application with Qt 6 GUI, built with CMake and Ninja. Integrates 6 STL data structures for CRUD operations, order processing, undo, and stock alerts.
- Full CRUD: Add, edit, delete, and search products
- 6 Data Structures: unordered_map, queue, stack, priority_queue, set, map
- Order Processing: Place and fulfill FIFO orders with stock deduction
- Undo System: Revert any action (add, remove, update, order)
- Smart Search: Real-time text + category filtering
- Stock Alerts: Priority-ranked low-stock warnings
- CSV Persistence: Save/load inventory to file
- Input Validation: Sensible name/price/quantity constraints
- Qt 6.11.1 with MinGW 13.10+ (Windows)
- CMake 3.16+
- Ninja
cmake -S . -B build -G Ninja ^
-DCMAKE_MAKE_PROGRAM=C:/Qt/Tools/Ninja/ninja.exe ^
-DCMAKE_PREFIX_PATH=C:/Qt/6.11.1/mingw_64 ^
-DCMAKE_CXX_COMPILER=C:/Qt/Tools/mingw1310_64/bin/g++.exe ^
-DCMAKE_C_COMPILER=C:/Qt/Tools/mingw1310_64/bin/gcc.execmake --build buildC:/Qt/6.11.1/mingw_64/bin/windeployqt.exe build/inventory.exe
build/inventory.exesrc/
main.cpp Entry point
Product.h Data class
Inventory.h/.cpp Business logic
MainWindow.h/.cpp Main GUI window (+ MainWindow.ui)
AddProductDialog.h/.cpp/.ui Add/Edit dialog
PlaceOrderDialog.h/.cpp/.ui Order dialog
CMakeLists.txt Build configuration
main.cpp Legacy CLI version (backup)
Documentation_Code_Architecture_Testing.pdf— Code structure, algorithms, and testingDocumentation_Development_Process.pdf— Full project journey from CLI to Qt GUI