← Back to team overview

ubuntu-phone team mailing list archive

[Porting] Unity8: Failed to load platform plugin "ubuntu".

 

Hi,

Just trying to port the latest "trusty" to the Asus TF300T using the 'phablet-trusty' android branch and today's image from:

http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/current/trusty-preinstalled-touch-armhf.zip

Finally I managed to drop some device-specific config files, boot into Ubuntu and start the Android container, but Unity8 is not starting. In the logfile I can see the following error:

   Failed to load platform plugin "ubuntu". Available platforms are:
   eglfs
   kms
   linuxfb
   minimal
   minimalegl
   ubuntumirclient
   ubuntumirserver
   xcb


Unfortunately, I didn't find any docs like a man page for Unity8, but my best guess is that the issue is caused by:

   QT_QPA_PLATFORM=ubuntu

That is set in /etc/profile.d/qpa_plugin.sh.

Any ideas?
Should Unity8 know about platform "ubuntu" or should QT_QPA_PLATFORM have another value?
Is this something I can fix in my port or is the image broken?

Thanks for your help! :)

Follow ups