← Back to team overview

ubuntu-phone team mailing list archive

Re: Python app tutorial?

 

On sab, 2014-01-25 at 11:27 -0800, Robert Park wrote:
> The way it's done in friends-app is that there's a python service that
> exposes a DBus API, and then in C++ there's a small wrapper around the
> DBus API (exposing it into Qml) and then the Qml makes DBus calls into
> the python script.

I thought we were supposed to be able to use Python directly, with pyqt?
I've tried running some example code that was posted to this list months
ago, while the QML appears to run (I can get print output), it fails to
render, giving a bunch of messages along these lines:
        QOpenGLShaderProgram: could not create shader program 
        QOpenGLShader: could not create shader 
        QSGMaterialShader: Shader compilation failed:
        "" 
        QOpenGLShaderProgram::uniformLocation( matrix ): shader program
        is not linked 
        QOpenGLShaderProgram::uniformLocation( opacity ): shader program
        is not linked

Does anybody know how to get this working?

Attachment: signature.asc
Description: This is a digitally signed message part


Follow ups

References