Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
Description
Currently QtQuick 2.0 needs to be imported first, before any submodules. It is disputable whether QtQuick 2.0 should even be needed at all if you aren't using elements from that specific import, but in a declarative language the order of imports shouldn't matter for clearly defined behaviour.
This gives a module not installed error:
import QtQuick.Particles 2.0
import QtQuick 2.0
This works:
import QtQuick 2.0
import QtQuick.Particles 2.0
Attachments
Issue Links
- resulted in
-
QTBUG-25178 Extract Particles code to separate library
-
- Closed
-
For Gerrit Dashboard: QTBUG-24369 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21375,2 | Re-order imports statements to import nested imports later | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |
22543,2 | Create plugins for Particles and Window submodules | master | qt/qtdeclarative | Status: MERGED | +2 | 0 |