[SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread 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 c

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Michael Fuchs
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 workin

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread 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 Fuch

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Kimmo Lindholm
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: deve

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Michael Fuchs
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

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Marcin Mielniczuk
Thanks for the reply! Is it possible to change the port for the SailifshOS tab? I have tty.js running on the same port, had to kill it. 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 "Sa

Re: [SailfishDevel] Using QtQuick.Layouts

2016-07-28 Thread Martin Kampas
Hi Marcin, > Is it possible to change the port for the SailifshOS tab? I have tty.js > running on the same port, had to kill it. Yes. 1. Stop the MerSDK VM 2. Open MerSDK VM settings in VirtualBox, navigate to Network -> Adapter 1 -> Advanced -> Port Forwarding and change the Host Port there. 3