> -----Original Message----- > From: development-bounces+kai.koehne=digia....@qt-project.org > [mailto:development-bounces+kai.koehne=digia....@qt-project.org] On > Behalf Of Sebastian Lehmann > Sent: Wednesday, January 08, 2014 2:31 PM > To: development@qt-project.org > Subject: Re: [Development] Qt.vector3d() and friends > > Hi, > > I'd find it "natural" if there was something like a QtCore plugin. > Then, QtQuick and Qt3D (and other stuff) could depend on it; i.e. > something analogous to the existing Qt modules dependency, but in the QML > world. > > I already encountered situations in which I wanted to use QtQuick stuff > without the QtQuick *visual* items: Timer, Component, NumberAnimation > etc. Why not separating QtQuick in non-visual and visual parts? > > Of course, when importing QtQuick x.y, this should automatically resolve the > dependency and also import QtCore x.y.
That's actually how it is. You can just write 'import QtQml 2.2' for some basic types. http://qt-project.org/doc/qt-5/qtqml-qmlmodule.html I guess vector3d isn't in QtQml but QtQuick to avoid a Qt5Qml->Qt5Gui dependency ... Regards Kai _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development