[Development] QML import versions

Nurmi J-P jpnurmi at theqtcompany.com
Mon Sep 21 10:07:24 CEST 2015

On Sep 21, 2015 7:48 AM, Olivier Goffart <olivier at woboq.com> wrote:

> I've always found that tyhe revision system is broken by design.
> (Because of the mainingless of the version number, because of the inheriting,
> because it's of little use anyway for we always do behaviour changes and the
> likelyhood of a name clash is not the worst)
> Here was my proposal:
> class QQuickImage {
>    Q_CLASS_INFO("Qt.Module","QtQuick")
>         Q_PROPERTY(int rating MEMBER m_rating NOTIFY ratingChanged SINCE 2.6)
> public slots:
>         Q_SINCE(2.6) void shareOnSocialMedia();
> };
> The Q_SINCE could even be parsed by qdoc and be an alternative to the \since

That would a massive improvement, but it boils down to the same problem. It can only be like that if Qt and QML version numbers match. We cannot sprinkle qtquick versions to the base classes in qtbase.

J-P Nurmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20150921/d6159dcc/attachment.html>

More information about the Development mailing list