A modern desktop Library Management System built with C++ and Qt Widgets, featuring authentication, book management, issue/return operations, persistent storage, and an intuitive graphical interface.
- User Login
- User Signup
- Secure credential validation
- Persistent user storage (
users.txt)
- β Add Books
- β Remove Books
- π Search Books
- π Display All Books
- Issue Books
- Return Books
- Automatic Fine Calculation
- Book Availability Tracking
- Save books to file
- Load books automatically on startup
- Persistent storage using text files
- User data persistence
- Built with Qt Widgets
- Responsive interface
- Dashboard layout
- Styled buttons
- Interactive table view
- Tooltips
- User-friendly navigation
- Object-Oriented Programming (OOP)
- Classes & Objects
- Constructors
- Encapsulation
- Exception Handling
- File Handling
- STL (Vector)
- Searching Algorithms
- Sorting Algorithms
- Event-Driven Programming
screenshots/login.png
screenshots/signup.png
screenshots/dashboard.png
screenshots/library.png
screenshots/adminview.png
| Technology | Usage |
|---|---|
| C++ | Core Programming |
| Qt 6 | GUI Framework |
| Qt Widgets | User Interface |
| CMake | Build System |
| STL | Data Structures |
| File Handling | Persistent Storage |
LibraryManagementGUI
β
βββ Book.cpp
βββ Book.h
β
βββ Library.cpp
βββ Library.h
β
βββ MainWindow.cpp
βββ MainWindow.h
βββ MainWindow.ui
β
βββ Login.cpp
βββ Login.h
βββ Login.ui
β
βββ Signup.cpp
βββ Signup.h
βββ Signup.ui
β
βββ UserManager.cpp
βββ UserManager.h
β
βββ books.txt
βββ users.txt
β
βββ CMakeLists.txt
- Qt Creator
- Qt 6.x
- MinGW Compiler
- CMake
git clone https://github.com/mannat69/Library-Management-System.git- Open Qt Creator
- Select Open Project
- Choose
CMakeLists.txt - Configure the project
- Build
- Run
- Create a new account using Signup
- Login using your credentials
- Add books to the library
- Search books
- Issue books
- Return books
- Save your changes
- Restart the application to verify data persistence
The application stores data locally using text files.
books.txt
Stores all book records.
users.txt
Stores registered user accounts.
- π Dark / Light Theme
- π Sort Books
- π· Book Cover Images
- π Categories
- π€ Export to CSV
- π PDF Reports
- π Due Date Notifications
- ποΈ SQLite Database Integration
- π± QR / Barcode Support
This project demonstrates practical implementation of:
- GUI Development with Qt
- Object-Oriented Programming
- File Handling
- Exception Handling
- Event-Driven Programming
- Data Structures
- Searching & Sorting
- Desktop Application Development
Contributions, suggestions, and improvements are always welcome.
Feel free to fork the repository and submit a pull request.
Mannat Choudhry
π B.Tech Computer Science Engineering
GitHub: https://github.com/mannat69
If you found this project useful, consider giving it a β Star on GitHub!
It helps others discover the project and motivates future improvements.
Made with β€οΈ using C++ and Qt




