[PyQt] How can I use SQLCipher in PyQt?

2011-08-15 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-15 Thread Phil Thompson
On Sun, 14 Aug 2011 15:40:00 -0700, Josh Stratton strattonbra...@gmail.com wrote: 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? Yes, otherwise I

[PyQt] QGraphicsPixmap and hover events

2011-08-15 Thread Vincent Vande Vyvre
Hi, I have a strange effect with hover events and QGraphicsItem. The example below demonstrate the problem, the hover events are emitted only on the border of the item but not on the item himsef. If I don't draw a border, events are never emitted.

Re: [PyQt] I created a demo how to embed PyQt into C++ with some meta programming

2011-08-15 Thread Marcus Lindblom Sonestedt
Henning Schröder skrev 2011-08-10 20:55: Hello, please see http://www.henning-schroeder.de/embeddedpyqt/ if you are interested in this topic. The idea was to create easy access between Python and C++ and providing a simple api to the end user. Feedback welcome. Regards Henning Neat! I'll

Re: [PyQt] I created a demo how to embed PyQt into C++ with some meta programming

2011-08-15 Thread Phil Thompson
On Mon, 15 Aug 2011 11:28:04 +0200, Marcus Lindblom Sonestedt marcus.s.lindb...@gmail.com wrote: Henning Schröder skrev 2011-08-10 20:55: Hello, please see http://www.henning-schroeder.de/embeddedpyqt/ if you are interested in this topic. The idea was to create easy access between Python and

[PyQt] Fwd: I created a demo how to embed PyQt into C++ with some meta programming

2011-08-15 Thread Marcus Lindblom Sonestedt
2011/8/15 Phil Thompson p...@riverbankcomputing.com On Mon, 15 Aug 2011 11:28:04 +0200, Marcus Lindblom Sonestedt marcus.s.lindb...@gmail.com wrote: Henning Schröder skrev 2011-08-10 20:55: Hello, please see http://www.henning-schroeder.de/embeddedpyqt/ if you are interested in this

Re: [PyQt] QGraphicsPixmap and hover events

2011-08-15 Thread Vincent Vande Vyvre
Le 15/08/11 10:51, Vincent Vande Vyvre a crit: Hi, I have a strange effect with hover events and QGraphicsItem. The example below demonstrate the problem, the hover events are emitted only on the border of the item but

Re: [PyQt] I created a demo how to embed PyQt into C++ with some meta programming

2011-08-15 Thread zhang jian
Nice documentation! I did some experiment on the hybrid app herehttp://acaciaecho.wordpress.com/2011/08/15/hybridqtwithpyqt/ . The code is quite a mess, and Python to C++ extension is by SIP. I have no idea about meta programming so far. Will check your example when I have time. Thanks, zhang

[PyQt] How to compile SIP and PyQt using MinGW?

2011-08-15 Thread chinakr
Dear Phil and the kind guys here, I recently want to use SQLCipher with my SQLite database. I followed a guide to compile the driver using MinGW: http://www.qtcentre.org/wiki/index.php?title=Building_QSQLITE_driver_with_AES-256_encryption_support_%28Windows/MinGW%29 But PyQt told my that it's