On Mon, Dec 10, 2012 at 07:25:57PM -0800, Alan Alpert wrote:
> I've heard complaints about all the varying version numbers used in
> QML imports. I don't think we can just standardize, for example on
> 5.0, because the whole point of modularization is that modules don't
> have to move in lockstep anymore. But I did hear an idea at Dev Days
> to help confuddled users (thanks Jens!). Theoretically we could have
> some helpful convenience imports the same way there are conveience
> includes in C++ (like #include<QtCore>). So what do people think of
> having convenience imports? These would be imports which contain zero
> types, but act like a bunch of other imports. For example, there could
> be a convenience import like
> 
> import Qt 5.0
> 
> Which imports all QML modules in the Qt Essentials released with 5.0.0
> (except QtQuick 1). It would be the equivalent of
> 
> import QtQml 2.0
> import QtQuick 2.0
> import QtQuick.Window 2.0
> import QtQuick.Particles 2.0
> import QtAudioEngine 1.0
> import QtMultimedia 5.0
> import QtWebkit 3.0

What about something like

 import QtQml from Qt 5.0
 import QtQuick from Qt 5.0

or even

 import QtQml from MyCustomStuff
 import QtQuick from MyCustomStuff

instead?

Andre'
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to