Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Fri, 13 Dec 2019 at 19:42, André Hartmann wrote: > > Hi Christian, > > > A stock Android NDK has the kernel headers for CAN, but doesn't have > > libsocketcan. > > libsocketcan doesn't seem to be necessary, as per configure's output > > No, it is not mandatory. But for 5.14 it became optional

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread André Hartmann
Hi Christian, A stock Android NDK has the kernel headers for CAN, but doesn't have libsocketcan. libsocketcan doesn't seem to be necessary, as per configure's output No, it is not mandatory. But for 5.14 it became optional (loaded at runtime) to provide additional information about the CAN

Re: [Interest] Screenshot QML Applications

2019-12-12 Thread Jason H
FWIW, i use this and it works. > Sent: Friday, December 13, 2019 at 2:53 AM > From: "Matt Wright" > To: "Martin Leutelt" , "interest@qt-project.org" > > Subject: Re: [Interest] Screenshot QML Applications > > Hi Martin, > > Thanks for the suggestion, I will give it a go. > > Matt > > From:

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Fri, 13 Dec 2019 at 01:55, Denis Shienkov wrote: > > Hi, > > > Yes I saw that, but same apply to QtSerialPort, i don't see why it's > not available on Android. Android IS a Linux system, and it does have > the tty bits. > > Because it requires the root right to use the serial ports in Android.

Re: [Interest] Screenshot QML Applications

2019-12-12 Thread Matt Wright
Hi Martin, Thanks for the suggestion, I will give it a go. Matt From: Martin Leutelt Sent: Wednesday, December 11, 2019 11:52 PM To: interest@qt-project.org Subject: Re: [Interest] Screenshot QML Applications Hi, I guess what you're looking for is

Re: [Interest] When is parent not the parent?

2019-12-12 Thread Jérôme Godbout
Lexical parent would result into bad behavior with rendering order. Items render themselves and children, making a packed Items with a default property alias children: mySubitemId.children Lead to this behavior and do the right thing. ListView, Drawer, TableView and other complexe rendering

Re: [Interest] When is parent not the parent?

2019-12-12 Thread Jason H
I'm not using that screen, I am using a Screen.qml that is an Item. My app has "Screens" in it whose visibility is controlled by the application state. That's why I only want the Prox sensor active when the screen is active, rather than wasting main thread power on things which need not be

Re: [Interest] When is parent not the parent?

2019-12-12 Thread Jérôme Godbout
Quick question (punt intendended), why using Screen as object and not a Window element? Screen is an Attachement Object normally and therefore should not have children, it should not be used that way unless I'm missing something here, your Screen is the

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Denis Shienkov
Hi, > Yes I saw that, but same apply to QtSerialPort, i don't see why it's not available on Android. Android IS a Linux system, and it does have the tty bits. Because it requires the root right to use the serial ports in Android. Do you have a root rights for any device? Do you have the

Re: [Interest] QtSerialBus on Android

2019-12-12 Thread Christian Gagneraud
On Thu, 12 Dec 2019 at 20:00, André Hartmann wrote: > > Hi Christian, > > QtSerialBus had a QtSerialPort dependency up to 5.12, which was removed > in 5.13. Yes I saw that, but same apply to QtSerialPort, i don't see why it's not available on Android. Android IS a Linux system, and it does have