[Development] Do QtQuick.Layouts depend on QtQuick.Controls?

Saether Jan-Arve Jan-Arve.Saether at theqtcompany.com
Wed Dec 10 10:30:46 CET 2014


Yes, for app development they are independent.

They didn't even have to live in the same repository, but since they are usually used together we chose to have them in the same repo. That makes it easier to catch bugs earlier and to make sure that Controls and Layouts always cooperate properly. (For instance, many examples use both QtQuick Layouts and QtQuick Controls).  Their respective autotests however shouldn't rely on the other framework.

Jan Arve
________________________________________
Fra: development-bounces+jan-arve.saether=theqtcompany.com at qt-project.org <development-bounces+jan-arve.saether=theqtcompany.com at qt-project.org> pƄ vegne av Alejandro Exojo <suy at badopi.org>
Sendt: 9. desember 2014 22:25
Til: development at qt-project.org
Emne: Re: [Development] Do QtQuick.Layouts depend on QtQuick.Controls?

El Tuesday 09 December 2014, Dmitry Volosnykh escribiĆ³:
> Hi!
>
> "What's New in Qt 5" documentation article
> (http://qt-project.org/doc/qt-5/qt5-intro.html) under
> "Designing UI Made Simpler" section introduces Qt Quick Controls and
> Qt Quick Layouts modules at once. As far as I can see there is no
> clear evidence that Layouts may be used separately from Controls. The
> only pros I am aware of are "Qt Quick Layouts Overview" article
> (http://qt-project.org/doc/qt-5/qtquicklayouts-overview.html) and my
> personal similar experience with desktop Qt 5.

Those are independent.

> The question arised from the situation when I faced the absence of
> Layouts on embedded Linux box with custom build of Qt 5 by my collegue
> who states that it was default build for that platform. We don't need
> Controls there sicne all the UI is handcrafted by our team, but we
> would really like to have Layouts available because it really
> simplifies UI composition!

The plugins are different, but the git repository where the source is present
is the same. You have to build the qtquickcontrols repository, or you will
miss the layouts.

--
Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
http://barnacity.net/ | http://disperso.net
_______________________________________________
Development mailing list
Development at qt-project.org
http://lists.qt-project.org/mailman/listinfo/development



More information about the Development mailing list