Let's learn how to use a 3D canvas in QML by following this example:
- Let's start this example by creating a new project in Qt Creator. This time around, we will go for Qt Quick Application—Canvas 3D and not the other options that we chose in the previous examples:
- After that, Qt Creator will ask you whether to create a project that is based on the three.js JavaScript library. Check the Create a three.js based application option and press the Next button to proceed:
- Once the project is created, you will notice that there ...