[SailfishDevel] No QSerialPort

Wim de Vries wsvries at xs4all.nl
Fri Mar 28 10:42:33 UTC 2014


On 03/27/2014 03:24 PM, Mikael Hermansson wrote:
>
> Actually support for QtSerialPort could be valid on non Jolla devices. 
> For example if we get sailfishos going on BeagleBoard Black? or 
> Android devices with USB OTG support...
>
Certainly a valid point you make!

Like the Nexus 7 does have OTG. And they showed it with Sailfish running 
on it...


> But I can understand if Jolla does not prioritize this right now, but 
> it should atleast be available as "extra repo" or in mer-core or 
> something?
>
> Regards
>
> Mikael
>
> On Tuesday 25 March 2014 09.09.15 Jonni Rainisto wrote:
>
> > Hi,
>
> >
>
> > I hope that you are aware that USB OTG is not supported, so you cannot
>
> > attach USB serial devices to Jolla? Or are you building yourself a 
> custom
>
> > TOH with USB host support and plan to use i2c serial ports? In that case
>
> > you can just compile QtSerialPort code yourself (I've tested that it
>
> > compiles just fine inside the SDK) and bundle that inside your 
> application.
>
> > You might want to consider BT devices and using RFCOMM over that as that
>
> > would be much simpler approach.
>
> >
>
> > br, Jonni
>
> > ________________________________________
>
> > From: devel-bounces at lists.sailfishos.org
>
> > [devel-bounces at lists.sailfishos.org] on behalf of wsvries
>
> > [wsvries at xs4all.nl] Sent: Tuesday, March 25, 2014 10:46 AM
>
> > To: devel at lists.sailfishos.org
>
> > Subject: Re: [SailfishDevel] No QSerialPort
>
> >
>
> > Thanks,
>
> >
>
> > Alejandro Exojo schreef op 2014-03-24 21:53:
>
> > > El Sunday 23 March 2014, Wim de Vries escribió:
>
> > >> So, it should be available in Sailfish.
>
> > >
>
> > > No, is available inside Qt, not necessarily provided for Sailfish.
>
> >
>
> > I thought Sailfish would include all modules of Qt....
>
> >
>
> > >> Have to recheck the errors, but it looked like the libs and headers
>
> > >> were
>
> > >> not there (QtSerialPort/QtSerialPort no such file).
>
> > >
>
> > > I already told you that you might consider copying the module to your
>
> > > application and bundle it. Or see if Qt Serial port is packaged for
>
> > > mer, and
>
> > > ask for inclusion (or package if is not). Any Qt addon is a safe bet
>
> > > since qt-
>
> > > project has some serious commitment to ABI/API stability.
>
> >
>
> > I did this on the notebook Qt<5.1 versions of my app. (even a
>
> > boost-serial version before QSerial)
>
> > But doing this with Sailfish is far more complex:
>
> > it has to be available on the Mer VM and the Sailfish VM (and later
>
> > Sailfish device).
>
> > I am not experienced with VMs. The nice thing about using Qt is not
>
> > having to worry about the implementation (and updates) of the modules.
>
> > (The Sailfish (Target) manager is also not able to find the serialport
>
> > module).
>
> > I need all the time for porting to Sailfish, esp. C++GUI2Qml ;-(
>
> > So, support for this module is a must for my app.
>
> >
>
> > > Or just explain what serial port you want to use and for what reason,
>
> > > so
>
> > > Sailors see the need to do the work themselves... and satisfy my
>
> > > curiosity.
>
> > > ;-)
>
> >
>
> > aircraft navigation+more app:
>
> > USB/serial device1:
>
> > -external GPS
>
> > USB/serial device2:
>
> > -air press sensor (altitude)
>
> > -humidity sensor
>
> > -temp sensor
>
> > No rocket science, works flawless on ubuntu notebook.
>
> >
>
> > r
>
> > wim
>
> > _______________________________________________
>
> > SailfishOS.org Devel mailing list
>
> > _______________________________________________
>
> > SailfishOS.org Devel mailing list
>
> -- 
>
> Skickat från Lenovo Thinkpad X230 running Kubuntu desktop
>
>
>
> _______________________________________________
> SailfishOS.org Devel mailing list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140328/4d5be712/attachment.html>


More information about the Devel mailing list