jinjuyu / sproxel

Automatically exported from code.google.com/p/sproxel
0 stars 0 forks source link

error: invalid conversion from 'Py_UNICODE* {aka long unsigned int*}' to 'const uint* {aka const unsigned int*}' #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Trying to package this as RPM at 
https://build.opensuse.org/package/show/home:Mailaender:branches:graphics/sproxe
l

What steps will reproduce the problem?
1. qmake
2. make

What is the expected output? What do you see instead?

pyBindings.cpp: In function 'bool py_to_qstr(PyObject*, QString&)':
pyBindings.cpp:32:71: error: invalid conversion from 'Py_UNICODE* {aka long 
unsigned int*}' to 'const uint* {aka const unsigned int*}' [-fpermissive]
In file included from /usr/include/QtCore/qobject.h:48:0,
                 from /usr/include/QtCore/qiodevice.h:46,
                 from /usr/include/QtCore/qdatastream.h:46,
                 from /usr/include/QtGui/qregion.h:50,
                 from /usr/include/QtGui/qmatrix.h:46,
                 from /usr/include/QtGui/qtransform.h:44,
                 from /usr/include/QtGui/qimage.h:45,
                 from /usr/include/QtGui/QImage:1,
                 from pyBindings.cpp:2:

What version of the product are you using? On what operating system?

openSUSE 12.3 i586

Please provide any additional information below.

I also had to patch INCLUDEPATH for Python.h which is attached here.

Original issue reported on code.google.com by mailaend...@gmail.com on 7 Jul 2013 at 12:30

Attachments: