Загрузка...

Login with HTTP in Qt C++ (Client-Side) | Media Player Project Tutorial – Part 2a

Part 2a – Qt + C++ Media Player: Login (Client-Side)
Welcome back to the Ultimate Qt + C++ Media Player Tutorial Series!
In this part, we’re diving into the Login system — but from the backend (client) side. We’ll send login credentials (email + password) from Qt to our dummy FastAPI server using QNetworkAccessManager( https://doc.qt.io/qt-6/qnetworkaccessmanager.html#details ), all while handling async responses.

The dummy python server used in the tutorial is here ====)
https://github.com/kaustuvpokharel/LUNARA_MediaPlayer_CPP_QT/blob/4886b2e3854370c070d41dc2c2c8124839b6199a/dummyServer.py

What You'll Learn in This Part:

🔹 Sending POST requests from Qt C++ to a backend
🔹 Using QNetworkAccessManager and QNetworkReply properly
🔹 Building a clean, reusable login backend logic for your UI
🔹 Managing loading states using Q_PROPERTY and signals

This is Part 2a — just the start of the authentication flow. In Part 2b, we’ll handle token-based authentication and fetch the user profile to complete a real login system.

If you enjoy my content and the little effort I put in as an international student, feel free to buy me a coffee ☕ — only if you can. Your support means a lot 💛
https://buymeacoffee.com/k.a.l.i

Game Tutorial playlist:
https://youtube.com/playlist?list=PLeYV3WjZWmHyYUe-BElUVNeFYTmpOQ9Xq&si=QXh5lNo6N-HBu7gh

🔗My linkedIn:
https://www.linkedin.com/in/kaustuvpokharel/

🔗 Useful Qt Links:
📖 Official Qt Docs: https://doc.qt.io
💻 Qt Installation Guide: https://www.qt.io/download

#Qt #C++ #VideoPlayer #QML #CMake #TutorialSeries #DevLife #Cpp #projectmanagement #qtlogin #cpplogin #projectdesign #kali

Видео Login with HTTP in Qt C++ (Client-Side) | Media Player Project Tutorial – Part 2a канала KALI
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки