In the next exercise, we will implement a car dashboard that can be used in a racing game and will show a number of parameters such as current speed and motor revolutions per minute. The final result will look similar to the following image:
We will start with the C++ part. Set up a new Qt Quick Application. Choose the most recent Qt Quick version for the Qt Quick component set. This will generate a main function for you that instantiates
QQmlApplicationEngine and sets them up to load a QML document.
Use the File menu to create New file or Project and create a new C++ class. Call it ...