O'Reilly logo

Game Programming using Qt 5 Beginner's Guide - Second Edition by Lorenz Haas, Witold Wysota, Pavel Strakhov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – Scene for an action game

Let's try something new for our new project. Select New File or Project from the File menu of Qt Creator, switch to the Other Project category and choose the Qt Quick UI Prototype template. Qt Creator will create a main QML file and a project file with the .qmlproject extension. This kind of project file is different than regular project files with the .pro extension. This is a pure QML project that does not contain any C++ code and thus does not require compilation. However, you need a QML runtime environment to run this project. Your Qt installation provides such an environment, so you can run the project from the terminal using the qmlscene main.qml command or just let Qt Creator handle that. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required