[SailfishDevel] Using QtQuick.Layouts

Michael Fuchs michfu at gmx.at
Thu Jul 28 12:08:16 UTC 2016


Hi,

either you install the required package (I guess 
qt5-qtquickcontrols-layouts) manually via ssh, or you put the dependency 
in the spec file and deploy the rpm, then it will get installed 
automatically.

regards, Michael.



Am 28.07.2016 um 13:18 schrieb Marcin Mielniczuk:
> Hi,
>
> I'm working on a Sailfish app. I want to use a ColumnLayout instead of a
> Column to take advantage of convienience properties such as
> Layout.fillHeight.
>
> For some reason the QML import QtQuick.Layouts is missing from
> mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml. On the other hand, the
> code works perfectly in the Emulator.
>
> Is there any way to make QtCreator recognize the QtQuick.Layouts import
> and suggest autocompletions other than force copying the module from the
> Emulator?
>
> Regards,
>


More information about the Devel mailing list