Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Giovanni Bajo
On Sat, 1 Sep 2007 23:40:36 -0300, Gustavo A. Díaz [EMAIL PROTECTED] wrote: Phil, Ok, i have this output: /usr/bin/ld: cannot find -lmysqlclient_r Something i am missing? apt-get install libmysqlclient15-dev? -- Giovanni Bajo ___ PyQt

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Gustavo A. Díaz
[EMAIL PROTECTED]:~$ locate libmysqlclient_r.a /usr/lib/libmysqlclient_r.a Yes, Kubuntu feisty x86. Cheers. 2007/9/2, Giovanni Bajo [EMAIL PROTECTED]: Weird... so you have libmysqlclient_r.a into /usr/lib? Are you using Ubuntu for x86 or x86-64? On Sun, 2 Sep 2007 11:20:21 -0300, Gustavo

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Andreas Pakulat
On 02.09.07 12:31:42, Gustavo A. Díaz wrote: [EMAIL PROTECTED]:~$ locate libmysqlclient_r.a /usr/lib/libmysqlclient_r.a Do you also have the .so variant? Thats the one that is used for linking usually. Andreas -- You'll feel much better once you've given up hope.

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Gustavo A. Díaz
Of course i do [EMAIL PROTECTED]:~$ locate libmysqlclient_r.so /usr/lib/libmysqlclient_r.so /usr/lib/libmysqlclient_r.so.15 /usr/lib/libmysqlclient_r.so.15.0.0 I've tested this with 3 workstations i have with same system guys.. So, for me is a problem with the configure script or

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Andreas Pakulat
On 02.09.07 15:11:19, Gustavo A. Díaz wrote: Of course i do [EMAIL PROTECTED]:~$ locate libmysqlclient_r.so /usr/lib/libmysqlclient_r.so /usr/lib/libmysqlclient_r.so.15 /usr/lib/libmysqlclient_r.so.15.0.0 I've tested this with 3 workstations i have with same system guys.. Ok, I

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Gustavo A. Díaz
Ok, first: [EMAIL PROTECTED]:~$ ls -l /usr/lib/libmysqlclient* -rw-r--r-- 1 root root 2606868 2007-04-03 08:09 /usr/lib/libmysqlclient.a -rw-r--r-- 1 root root 941 2007-04-03 08:08 /usr/lib/libmysqlclient.la -rw-r--r-- 1 root root 2617742 2007-04-03 08:09 /usr/lib/libmysqlclient_r.a

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Andreas Pakulat
On 02.09.07 19:54:57, Gustavo A. Díaz wrote: Ok, first: Thanks, that looks good. Second (i believe this is what you asked...): Yes. Checking to see if the QtSql module should be built... g++ -DQT_NO_DEBUG -DQT_SQL_LIB -I. -I/usr/mkspecs/linux-g++ -I/usr/include/qt4/QtSql

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Gustavo A. Díaz
Ok... so now it works (to compile) by putting in my dependencies list libsqlite3-dev (wich i will not use ever!) Why is necesary to install libmysqlclient-dev AND libsqlite3-dev if i just need mysql? But now when execute the app that needs mysql module... does not start never... and i have to

Re: [PyQt] Problems with MySQL module

2007-09-02 Thread Gustavo A. Díaz
By the way, i forgot to say: I've donwloaded pyqt4.3 source package from Kubuntu gutsy repository, and it to build it never ask for mysql or sqlite devs packages... 2007/9/2, Gustavo A. Díaz [EMAIL PROTECTED]: Ok... so now it works (to compile) by putting in my dependencies list

[PyQt] Note about setting setting painters with gradients instead of brushes

2007-09-02 Thread Jeff Donner
Hi, I just wanted to save someone else some time - in Qt's C++ gradient demo, they set a QPainter directly with one of their gradients (as the docs show as permitted), but that doesn't seem to work in PyQt: g = QtGui.QRadialGradient(midpoint.x, midpoint.y, self.blob_radius)