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. ...

Get Game Programming using Qt 5 Beginner's Guide - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.