Assembly

From Qt Wiki
Jump to navigation Jump to search

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:

  1. INSTALLER, this is by far the most easiest way to get a Qt build on your computer. We support Windows, Mac and Linux desktops.
  2. 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

  1. open CMakeFiles.txt from the qtmultimedia directory (requires source access) with Qt Creator
  2. Make sure you're building 'release' target
  3. add following to the build target setup in Qt Creator (seen in the picture)
  4. Click 'Build' - Qt Creator will build the multimedia and will install it to your Qt6 environment
    build settings