QQuickWindow in 5.12
-
Ok, some more updates,
If I remove the QQuickWidget and run make to generate all needed files, and than add the QQuickWidget and hit compile/run it works.
BUT if I force a qmake rerun, it failed!-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
but as soon as I need to generate the files a new aka, deleting build folder or forcing a manual qmake, it fails to compile.
This is frustrating.
-
@J.Hilk said in QQuickWindow in 5.12:
-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
Very weird.
Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)
-
@J.Hilk said in QQuickWindow in 5.12:
This is frustrating.
I can imagine. Unfortunately I don't see anything really suspicious in the qmake log. Very odd indeed.
-
A general update.
Over the weekend, I updated QTC and Qt on my private iMac to the latest versions as well.
The issue with QQuickWidgets is reproducible with that installation of Qt as well as with the one on my MacBook, this seems to be a general problem?I took my own advice and contacted Customer Support as well, hopefully Irfan can shed some light on the issue ;-)
@JKSH said in QQuickWindow in 5.12:
@J.Hilk said in QQuickWindow in 5.12:
-> running make without QQuickWidgets in the ui -> than adding QQuickWidgets -> everything works fine
Very weird.
Could you grab a copy of the working build folder and a copy of the non-working build folder, then diff their contents? (like the Makefiles)
Well the diff output is not very large, everything is missing accept the make file, and the difference between those two is:
-
@J.Hilk well I guess it‘s now officially a bug:
https://bugreports.qt.io/browse/QTBUG-72641I‘ll keep this topic open until the bugreport is closed.
Thanks all for the help in trying to figure it out!
-
And rejected as not reproducible, seems like only my 3 macs are effected.
I give up and stick with 5.11 for the foreseeable future.
-
I posted a workaround at the bug report QTBUG-72641:
-
clean the build folder, especially delete ui_mainwindow.h.
-
In Forms/mainwindow.ui change
<header>QtQuickWidgets/QQuickWidget</header>
to
<header>QQuickWidget</header>
and rebuild.
So go ahead and use Qt 5.12 :)
-
-
hey @Kalileo thank you very much.
It does require an external text editor, because you're not allowed to edit the ui file in xml format from QtC 🙄, but it's a 1 time modefication of the file and it will work for any and all rebuilds.
Very nice!
-
A quick and final update:
https://bugreports.qt.io/browse/QTBUG-72641
The topic was reopened - in no small part due to @Kalileo I believe ;-) - and the error seems to be found and fixed.The fixed version seems to be the upcoming 5.12.1 and onwards.
Thanks everyone for the interest and help in the issue.