Hi friends,
I also encountered this issue and solved it in a rather strange way.
I have Qt Creator 7.0.2 based on Qt 6.2.3.
I have installed two development Kits:
Qt 5.15.2 MSVC 2019 64bits
Qt 6.2.4 MSVC 2019 64bits
When I create a new QtQuick project with Qt 5.15.2 as main Kit my code is similar to you @L_A_Reeves :
import QtQuick 2.15
import QtQuick.Window 2.15
Window {
width: 640
height: 480
visible: true
title: qsTr("Hello Canary")
}
If I switch to the Design View, then I see the infamous bug :
2022-07-15 15_25_26-main.qml @ Canary - Qt Creator.png
But, If I add the build Kit Qt 6.2.4 to the project, select it and then switch to the Design View, here I can see my Window:
2022-07-15 15_27_08-main.qml @ Canary - Qt Creator.png
So my first conclusion is that, depending on the version of Qt used by your Qt Creator, you need to have the equivalent Kit selected
so that the Design View can interpret correctly your QML.
If you have Qt Creator based on Qt 6.x then I believe you need for your project to select a Qt Kit 6.x to be able to see your interface in the Design view.
That's my first conclusion. Hope it helps somebody.