Details
-
Bug
-
Resolution: Out of scope
-
P1: Critical
-
6.4.1, 6.5
Description
The attached example is extracted from a real life application, where a custom style is used. CMake in the example is basically set up according to the blog entry. The application looks as ugly as programmed for Qt 6.4 / 6.4.1.
Compile results:
- 6.4 - no warnings / errors
- 6.4.1
Warning: MyPopup.qml:8:5: Button was not found. Did you add all import paths? Button { ^^^^^^ Warning: MyPopup.qml:9:9: unknown grouped property scope anchors. anchors.centerIn: parent ^^^^^^^ Warning: MyPopup.qml:8:5: 'Button' is used but it is not resolved Button { ^^^^^^ Warning: MyPopup.qml:9:9: 'anchors' is used but it is not resolved anchors.centerIn: parent ^^^^^^^ Warning: MyPopup.qml:8:5: 'Button' is used but it is not resolved Button { ^^^^^^ Warning: MyPopup.qml:8:5: Type Button is used but it is not resolved Button { ^^^^^^ Warning: MyPopup.qml:9:17: Binding assigned to "centerIn", but no property "centerIn" exists in the current element. anchors.centerIn: parent ^^^^^^^^ Warning: MyPopup.qml:10:9: Binding assigned to "text", but no property "text" exists in the current element. text: 'Popup Button' ^^^^ Info: MyPopup.qml:2:1: Unused import at MyPopup.qml:2:1 import de.gonicus.ui ^^^^^^ Error: MyPopup.qml:9:17: Could not compile binding for centerIn: Cannot resolve property type for binding on centerIn import QtQuick ^ Error: main.qml:16:9: Could not compile binding for onCompleted: Cannot generate efficient code for script lookup Lib.createPopup(myStack) ^^^
- 6.5-dev (6.5.0-0-2 from maintenance tool as of today) - segfaults
Originally, I wanted to get rid of the warnings. Maybe I'm doing something wrong in the CMake configuration.