[SailfishDevel] Using QtQuick.Layouts

Kimmo Lindholm Kimmo.Lindholm at eke.fi
Thu Jul 28 14:49:05 UTC 2016


You need these in QtCreator

https://github.com/CODeRUS/better-sailfishos-qmltypes/tree/Sdk1511/QtQuick/Layouts 

see https://github.com/CODeRUS/better-sailfishos-qmltypes/blob/Sdk1511/README.md
You can install all or just a bit.

creds to coderus

-kimmo

> -----Original Message-----
> From: devel-bounces at lists.sailfishos.org [mailto:devel-
> bounces at lists.sailfishos.org] On Behalf Of Marcin Mielniczuk
> Sent: 28. heinäkuuta 2016 17:40
> To: Sailfish OS Developers <devel at lists.sailfishos.org>
> Subject: Re: [SailfishDevel] Using QtQuick.Layouts
> 
> Michael,
> 
> The whole thing works *in the Emulator*. This is not a problem.
> But the SailfishOS-i486 mersdk target doesn't have it installed. It's not
> needed for deployment but for the local coding (so that I get the code
> completion and no warnings in the editor)
> 
> On 28.07.2016 14:08, Michael Fuchs wrote:
> > 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,
> >>
> > _______________________________________________
> > SailfishOS.org Devel mailing list
> > To unsubscribe, please send a mail to
> > devel-unsubscribe at lists.sailfishos.org
> 
> --
> Marcin
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org


More information about the Devel mailing list