Page 1 of 1

CFclient on Ubuntu

Posted: Sun Sep 25, 2016 1:11 am
by hyperglider
Hi,

Being trying to work out how to get the CFclient on Ubuntu. Is there a way to do this?

HG

Re: CFclient on Ubuntu

Posted: Sun Sep 25, 2016 8:59 pm
by whoenig

Re: CFclient on Ubuntu

Posted: Mon Nov 28, 2016 2:40 am
by goe
Any chance these will be updated for Ubuntu 16.10 in the near future?

With PyQt4 QtWebKit being dropped, I've tried updating the client to PyQt5 and mostly muddled through QtWidgets vs QtGui sorting in the new version but still ran into issues with hexspinbox.py QAbstractSpinBox wrong argument types and got stuck there.

Re: CFclient on Ubuntu

Posted: Mon Nov 28, 2016 7:56 am
by arnaud
There is a ticket about porting to QT5 and some preliminary code for it on github: https://github.com/bitcraze/crazyflie-c ... issues/269

It was aimed at Mac OS but from what you are saying I guess all OS would be better off with QT5 ...

As for webkit, it is needed only for the Tab which is not working anyway, lets disable it for now.

Re: CFclient on Ubuntu

Posted: Mon Nov 28, 2016 8:04 am
by arnaud
Done, I just disabled the GPS tab. Please tell me if it helps running on Ubuntu 16.10.

Edited: typo 16.04 to 16.10 ...

Re: CFclient on Ubuntu

Posted: Tue Nov 29, 2016 6:33 am
by goe
Yes, that seems to have done the trick now and cfclient launches fine, connects and so on. I had to remove PySide as well since it was causing problems and was an unsuccessful attempt to get PyQt4 on Ubuntu 16.10 before deciding to just try moving to qt5.

I cloned your qt5 branch and repeated your same commenting out of ui tab for GPS manually:
https://github.com/ataffanel/crazyflie- ... n/tree/qt5