Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 4.11.0
-
None
Description
I noticed that QML syntax check (CTRL+SHIFT+C) gives suspicious 'invalid property name' if QtQuick module is imported before QtQuick.Controls.
The error is not shown if QtQuick module is imported after QtQuick.Controls.
You can easily see the issue loading the "QtQuick TableViews Example - Pixelator" example and adding
import QtQuick.Controls 2.12
after
import QtQuick 2.12
and running CTRL+SHIFT+C
I don't know if this can happen because an old "QtQuick 1" TableView is implemented in QtQuick.Controls 1 and this can confilct with QtQuick 2 TableView implemented in QtQuick module.
See this forum thread.