Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
None
-
0bc99c0c3 (qds/dev)
-
QDS Oulu - 2025 Week 25/26, QDS Oulu - 2025 Week 27/28
Description
The AI Assistant can be prompted using natural language to edit the currently open QDS QML document. It also has access to images in the project.
You can attach an image for the assistant to analyze and incorporate into its output.
The assistant is powered by Groq’s LLM backend (groq.com).
By default, the assistant view is hidden. To enable it:
Obtain a free API key from Groq:
- Go to groq.com, sign up, and log in.
- From the top menu, Developers > Free API key
- Sign up and log in
- Click "Create API Key".
- Copy the generated Secret Key.
Note: You won’t be able to view the secret key again. If needed, you can always delete it and generate a new one.
Configure Qt Design Studio(all have to be closed):
- Locate and open QtDesignStudio.ini file (On windows %AppData%\QtProject\QtDesignStudio.ini - on others its ~/.config/QtProject/QtDesignStudio.ini)
- Under the [QML] group, add the following entry:
Designer\GroqApiKey=<your-groq-api-key>