Details
-
Bug
-
Resolution: Invalid
-
P3: Somewhat important
-
None
-
Qt Creator 2.7.0
-
None
-
Windows 8 x64, Qt 5.0.2 (SDK, OpenGL)
Description
This is valid QML, which runs as expected:
import QtQuick 2.0 as Project import QtMultimedia 5.0 as Project Project.Rectangle { width: 100; height: 50 Project.Audio { source: "music.wav" autoPlay: true } }
However, "Project.Rectangle" will be underlined in red, and autocomplete will not work for the Rectangle type.
If the order of the imports is swapped, then "Project.Audio" will have the red underline lose autocomplete functionality.