Qt Canvas 3D Getting Started
To build the Qt Canvas 3D module from source code, set up a command prompt with an environment for building Qt applications, navigate to the directory containing
qtcanvas3d.pro, and configure the project with qmake:
After running qmake, build the project with make:
The above generates the default makefiles for your configuration, which is typically the release build if you are using precompiled binary Qt distribution. To build both debug and release, or one specifically, use one of the following qmake lines instead.
For debug builds:
qmake CONFIG+=debug make
qmake CONFIG+=debug_and_release make debug
For release builds:
qmake CONFIG+=release make
qmake CONFIG+=debug_and_release make release
For both builds (Windows/Mac only):
qmake CONFIG+="debug_and_release build_all" make
After building, install the module to your Qt directory:
If you want to uninstall the module:
To build a statically linked version of the QtCanvas3D module, give the following commands:
qmake CONFIG+=static make make install
Examples for Qt Canvas 3D are found under the
examples/canvas3d subdirectory. To build and run a single example, in this case
interaction, navigate to the example directory and enter the following commands:
qmake make ./interaction
Note: On some platforms, such as Windows, the executable can be generated under
release folders, depending on your build.
For all examples, check out Qt Canvas 3D Examples.
In order to use the wizard template it needs to be copied to the correct location. For more details of the correct location, please see Locating Wizards.
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.