[Development] Separation of QtQuick 1 from QtDeclarative repo

lars.knoll at nokia.com lars.knoll at nokia.com
Fri Feb 3 13:17:35 CET 2012

On 2/3/12 12:58 PM, "ext Sergio Ahumada" <sergio.ahumada at nokia.com> wrote:

>On 02/03/2012 04:32 AM, ext matthew.vogt at nokia.com wrote:
>> As the first part of the changes described by QTBUG-23737, we have now
>>separated version 1 of Qt Quick from the qt5 qtdeclarative module.
>> The implementation of Qt Quick 1 is now hosted in the 'qtquick1'
>>repository ( http://qt.gitorious.org/qt/qtquick1 ).  For maximum
>>compatibility with the existing version of Qt Quick, this repository was
>>created by importing the current implementation of Qt Quick from 4.8,
>>using the JavaScriptCore engine, modified to build in the Qt5
>>environment.  This repo is not yet integrated into the qt5 meta repo.
>> The qtquick1 repo produces a single library (QtQuick1) containing both
>>the declarative engine and the Qt Quick 1 QML elements.  The 'qmlviewer'
>>utility is now hosted in the qtquick1 repo, and only loads QML files
>>importing version 1 of QtQuick.  The 'qmlscene' utility remains in the
>>qtdeclarative repo, and only loads QML files importing version 2 of
>> Code linking against the qtquick1 implementation of Qt Quick should
>>specify 'QT += quick1'.  Code linking against the current version of the
>>declarative engine should specify 'QT += declarative', and 'Qt += quick'
>>to link against the QtQuick 2 QML elements.
>> Matt
>It seems like this change broke qt/qttools, can you confirm this please ?

I'd assume qttools doesn't include the qtquick1 repo as a dependency. But
there's anyway another issue as we currently have duplicated class names
between declarative and quick1. Afaik, Matthew is working on fixing this
and renaming the QDeclarative* classes for Qt Quick 2 to Qml*


>compiling qdeclarativeview_plugin.cpp
>qdeclarativeview_plugin.cpp:48:37: fatal error:
>QtQuick1/QDeclarativeView: No such file or directory
>make[6]: *** [.obj/debug-shared/qdeclarativeview_plugin.o] Error 1
>make[5]: *** [sub-qdeclarativeview-make_default-ordered] Error 2
>make[4]: *** [sub-plugins-make_default-ordered] Error 2
>make[3]: *** [sub-src-make_default] Error 2
>make[2]: *** [sub-designer-make_default-ordered] Error 2
>make[1]: *** [module-qttools-src-make_default] Error 2
>make: *** [module-qttools-make_default] Error 2
>-- Sergio Ahumada
>Development mailing list
>Development at qt-project.org

More information about the Development mailing list