Re: [PyQt] Problem with passing QString

2012-03-02 Thread Jarosław Białas
I found out what the problem was. In configure.py I have: # Run SIP to generate the code. os.system(" ".join([config.sip_bin, "-c", ".", "-I/usr/share/sip -I/usr/include/QtGui/ -I/usr/include/QtCore/ -t WS_X11 -t Qt_4_6_0" , "-b", I changed Qt_4_6_0 to Qt_4_7_4 and now it works. Thanks for help

Re: [PyQt] Problem with passing QString

2012-03-02 Thread Phil Thompson
On Fri, 2 Mar 2012 13:59:30 +0100, Jarosław Białas wrote: > Hi, > > I have a library in C++ which use opencv-2.3.1. There is a function > that open image using path to file (I am using QString because it is > easier than converting to char*). Then I use some functions to > manipulate image. Final

[PyQt] Problem with passing QString

2012-03-02 Thread Jarosław Białas
Hi, I have a library in C++ which use opencv-2.3.1. There is a function that open image using path to file (I am using QString because it is easier than converting to char*). Then I use some functions to manipulate image. Finally I want to show image in GUI, so I implemented function which convert