[PyQt] How can I use SQLCipher in PyQt?

2011-08-14 Thread chinakr
I was recently developing a PyQt software in which encrypted SQLite was necessary. I have built SQLCipher successfully using MinGW, and then built Qt SQLite driver with SQLCipher integrated successfully using MinGW. The result DLL could not be loaded by the PyQt application. The debug info showed

Re: [PyQt] setting a uniform value

2011-08-14 Thread Josh Stratton
I really need to add an entire program? I'm passing a QGLShaderProgram and QMatrix4x4 and getting an "argument doesn't exist". Would an entire program really provide that much more information? On Sun, Aug 14, 2011 at 2:45 PM, Phil Thompson wrote: > On Sun, 14 Aug 2011 13:14:20 -0700, Josh Stra

Re: [PyQt] setting a uniform value

2011-08-14 Thread Phil Thompson
On Sun, 14 Aug 2011 13:14:20 -0700, Josh Stratton wrote: > I'm getting type errors sending a QMatrixr4x4 to a QGLShaderProgram. > The program was taken from a C++ version of comparable code, but I'm > assuming I need to do something more on the pyqt side to get the value > passed over correctly?

[PyQt] setting a uniform value

2011-08-14 Thread Josh Stratton
I'm getting type errors sending a QMatrixr4x4 to a QGLShaderProgram. The program was taken from a C++ version of comparable code, but I'm assuming I need to do something more on the pyqt side to get the value passed over correctly? objToWorld = QMatrix4x4() flatShader.setUniformValue("objToWorld",