Assembly: Difference between revisions
(Add getting started and multimedia parts.) |
No edit summary |
||
Line 2: | Line 2: | ||
This is the main page having all the information that you'll need to create a demo with Qt | This is the main page having all the information that you'll need to create a demo with Qt | ||
== Qt | ==Qt versions== | ||
To get the most out from the 3D graphics engine, you should be using the latest Qt (6.2). | Qt6; To get the most out from the 3D graphics engine, you should be using the latest Qt (6.2). At the time of writing, Qt 6.2 snapshot does not have multimedia in yet (so you need to build it from source). | ||
Qt5: This is the latest LTS release and despite lacking advanced 3D features, it's fully usable as demo platform if you're applying only shaders. Qt5 also has fully functional multimedia so you can start developing applications easily already today. | |||
== Getting Qt == | ==Getting Qt== | ||
There are many ways to get the Qt installation: | There are many ways to get the Qt installation: | ||
# INSTALLER, this is by far the most easiest way to get a Qt build on your computer. We support Windows, Mac and Linux desktops. | #INSTALLER, this is by far the most easiest way to get a Qt build on your computer. We support Windows, Mac and Linux desktops. | ||
# SOURCE, if you know what you are doing, nice alternative is to get the source and build it from scratch. Qt supports different build environments and has lot of documentation available: [[Building Qt 6 from Git]] | #SOURCE, if you know what you are doing, nice alternative is to get the source and build it from scratch. Qt supports different build environments and has lot of documentation available: [[Building Qt 6 from Git]] | ||
<br /> | <br /> | ||
== Multimedia == | ==Multimedia== | ||
At the time of writing,the current multimedia is not ready (in the latest dev build) so it must be compiled into. This is best done using Qt Creator and the steps are | At the time of writing,the current multimedia is not ready (in the latest dev build) so it must be compiled into. This is best done using Qt Creator and the steps are | ||
# open CMakeFiles.txt from the qtmultimedia directory (requires source access) with Qt Creator | #open CMakeFiles.txt from the qtmultimedia directory (requires source access) with Qt Creator | ||
# Make sure you're building 'release' target | #Make sure you're building 'release' target | ||
# add following to the build target setup in Qt Creator (seen in the picture) | #add following to the build target setup in Qt Creator (seen in the picture) | ||
# Click 'Build' - Qt Creator will build the multimedia and will install it to your Qt6 environment [[File:Screenshot 2021-06-17 at 12.10.55.png|thumb|build settings]]<br /> | #Click 'Build' - Qt Creator will build the multimedia and will install it to your Qt6 environment [[File:Screenshot 2021-06-17 at 12.10.55.png|thumb|build settings]]<br /> |
Revision as of 09:29, 17 June 2021
This is the main page having all the information that you'll need to create a demo with Qt
Qt versions
Qt6; To get the most out from the 3D graphics engine, you should be using the latest Qt (6.2). At the time of writing, Qt 6.2 snapshot does not have multimedia in yet (so you need to build it from source).
Qt5: This is the latest LTS release and despite lacking advanced 3D features, it's fully usable as demo platform if you're applying only shaders. Qt5 also has fully functional multimedia so you can start developing applications easily already today.
Getting Qt
There are many ways to get the Qt installation:
- INSTALLER, this is by far the most easiest way to get a Qt build on your computer. We support Windows, Mac and Linux desktops.
- SOURCE, if you know what you are doing, nice alternative is to get the source and build it from scratch. Qt supports different build environments and has lot of documentation available: Building Qt 6 from Git
Multimedia
At the time of writing,the current multimedia is not ready (in the latest dev build) so it must be compiled into. This is best done using Qt Creator and the steps are
- open CMakeFiles.txt from the qtmultimedia directory (requires source access) with Qt Creator
- Make sure you're building 'release' target
- add following to the build target setup in Qt Creator (seen in the picture)
- Click 'Build' - Qt Creator will build the multimedia and will install it to your Qt6 environment