[SailfishDevel] Using QtQuick.Layouts

Marcin Mielniczuk marmistrzmar at gmail.com
Tue Aug 9 10:21:54 UTC 2016


Hi,

Is it possible to do it from command-line, e.g. from the MerSDK shell?

Thanks

Marcin

On 28.07.2016 16:54, Michael Fuchs wrote:
> I'm very sorry, I misread your post.
>
> Install the same package in the emulator helped here.
>
> In QtCreator go to "Sailfish OS" on the left side, choose Targets -> 
> manage (next to 486); type "layout" in the new search field; check 
> install next to "qt5-qtquickcontrols-layouts"; click install-button; 
> wait for success message;
> quit QTCreator; restart it; enjoy.
>
> regards.
>
> Am 28.07.2016 um 16:39 schrieb Marcin Mielniczuk:
>> 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
>>
> _______________________________________________
> 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