t4mer@notebook

// problem · 11 august 2026 · 1 min

Discovering that my Qt UI is QML rather than Widgets

Qt Designer would not edit the screen. The file was never a .ui form.

Time wasted: 1 hour

Problem

I opened Qt Designer expecting to drag widgets. The screen did not appear as an editable form.

Environment

Qt 6.x Qt Creator QML project

Symptoms

Designer empty or refusing the file. A .qml file in the project. Confusion about where main.cpp was.

Expected

The Qt Designer / form editor workflow I had read about for Widgets.

Investigation

Looked at the project files. Found .qml. Read just enough CMakeLists to see Qt Quick.

Things I tried

Reopening Designer. Looking for a missing .ui file. Searching the web for “Qt Designer blank”.

Root cause

The UI is QML (Qt Quick), not Widgets. Designer is the wrong tool for that file. Qt Design Studio / the QML editor are the right family.

Solution

Stopped forcing Designer. Edited QML as QML. Treated C++ as the engine, not the layout.

Why it worked

Two UI toolkits live under the Qt umbrella. The file extension was the clue I ignored.

Lesson

If Designer cannot see your screen, check whether you have a .ui file at all.

I am learning this. The confusion is the point of writing it down.

Found something wrong?

These notes can be incomplete, or wrong in a different environment. Suggest a correction on GitHub or email me at me@t4mer.net.

// related