Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.2.10, 6.5.3, 6.6.0
-
1a8911a13 (dev), e899a765b (6.6), 2a23634b2 (tqtc/lts-6.5), e18bd73c4 (tqtc/lts-6.2)
Description
To reproduce, run attached example.
quickcmake_Main_qml.cpp:264: error: request for member ‘toString’ in ‘(QUrl*)(* argumentsPtr)’, which is of pointer type ‘QUrl*’ (maybe you meant to use ‘->’ ?) quickcmake_Main_qml.cpp:264:53: error: request for member ‘toString’ in ‘(QUrl*)(* argumentsPtr)’, which is of pointer type ‘QUrl*’ (maybe you meant to use ‘->’ ?) 264 | QString r6_0 = *static_cast<QUrl*>(argumentsPtr[0]).toString(); | ^~~~~~~~
Attachments
For Gerrit Dashboard: QTBUG-119165 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
520268,2 | QmlCompiler: Don't generate invalid code for argument conversion | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
520878,2 | QmlCompiler: Don't generate invalid code for argument conversion | 6.6 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
521045,3 | QmlCompiler: Don't generate invalid code for argument conversion | tqtc/lts-6.5 | qt/tqtc-qtdeclarative | Status: MERGED | +2 | 0 |
521559,1 | QmlCompiler: Don't generate invalid code for argument conversion | tqtc/lts-6.2 | qt/tqtc-qtdeclarative | Status: ABANDONED | 0 | 0 |
523207,2 | Don't generate invalid code for argument conversion | tqtc/lts-6.2 | qt/tqtc-qmlcompilerplus | Status: MERGED | +2 | 0 |