Jump to content

QtDesignStudio/UsingRealQt

From Qt Wiki
Revision as of 08:04, 20 March 2026 by Jarko Vihriala (talk | contribs) (Guide: How to use Qt Design Studio with real Qt environment)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using Qt Design Studio with real Qt environment

Typically Qt Design Studio does not directly integrate with a real Qt environment, as tooling cannot cope with vast changes that might be there in the real Qt. This is why Qt Design Studio is delivered with a purpose-built minified Qt environment.

Disclaimer: Using a full Qt exposes all QML types to Qt Design Studio and some might not work right.

This guide will descibe how to - Enable usage of full Qt 6.8 LTS environment - Configure Qt DS to work with the full Qt 6.8 LTS environment. - All steps are done on Linux and with command line

Pre-requisites

1. Build system must be functional, refer to: https://wiki.qt.io/Building_Qt_6_from_Git to get the build system up.

2. Grab a copy of Qt DS' add-on library sources called 'qtquickdesigner-components' from here (afterwards referred as "add-on lib"):

https://github.com/qt-labs/qtquickdesigner-components/

Qt kit preparation

First you need to compile and install the add-on lib (see above). The steps are described in the README.md of the add-on lib. Important to notice here is the -DCMAKE_INSTALL_PREFIX must point to the 'root' of your Qt environement which you are using, like:

/home/parallels/Qt/6.8.3/gcc_arm64

Once compiled and installed, check that the 'Studio' folder is populated into the kit:

$ ls /home/parallels/Qt/6.8.3/gcc_arm64/qml/QtQuick/Studio

If the folder exists and is not empty: Congrats! preparation of the kit is now done!

Qt Design Studio config