[SailfishDevel] Using QtQuick.Layouts

Marcin Mielniczuk marmistrzmar at gmail.com
Thu Jul 28 14:39:53 UTC 2016


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


More information about the Devel mailing list