Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

No warning when importing directories with identically named types

$
0
0
If my directory structure is main.qml Controls/Button.qml ControlsEx/Button.qml and in main.qml I write import "Controls" import "ControlsEx" then ControlsEx/Button.qml silently overrides Controls/Button.qml. No warning, no sign that something goes wrong. Is it OK?

Viewing all articles
Browse latest Browse all 4972

Trending Articles