In this recipe, we will learn how put our knowledge to use and create a functional login screen using Qt and MySQL.
Create your first functional login screen by following these steps:
- Open a web browser and go to phpMyAdmin. We will create a new data table called user, which looks like this:
- Let's insert our first item of data into the newly-created table and set employeeID to the ID of an existing employee. This way, the user account we create will be linked to the data of one of the employees:
- Open Qt Creator and create a new Qt Widgets Application project. We will start off with mainwindow.ui. Place a stacked widget on the canvas and make sure it contains two pages...