PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 661 - Compilation failure when QGtkStyle not found
: Compilation failure when QGtkStyle not found
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: QtGui
: HEAD
: All All
: P2 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-02-03 06:39 EET by Magnus Kessler
Modified: 2011-02-17 19:18 EET (History)
9 users (show)

See Also:


Attachments
CMakeCache.txt of failed compilation (48.53 KB, application/x-cmakecache)
2011-02-08 19:39 EET, Magnus Kessler
Details
pyside_qtgui_python.h (386.67 KB, text/x-chdr)
2011-02-09 10:35 EET, Magnus Kessler
Details
typesystem_gui.xml (4.24 KB, application/xml)
2011-02-09 10:36 EET, Magnus Kessler
Details
path to fix typesystem generation (1.30 KB, patch)
2011-02-09 12:28 EET, renato filho
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Kessler 2011-02-03 06:39:00 EET
I try to compile the git version of PySide on gentoo linux against version
4.7.1 of Qt. One of the pecularities of Qt on gentoo is that QGtkStyle gets
installed as a separate plugin, and the CMake check for its presence fails, as
it is not present in the main QtGui libraray.

However, despite being flagged as non-existent, during the compilation of the
QtGui PySide module the compilaton fails with an error about QGtkStyle.

[ 34%] Building CXX object
PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractproxymodel_wrapper.cpp.o 
In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractitemdelegate_wrapper.cpp:37:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
[...]
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractitemdelegate_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractitemview_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractgraphicsshapeitem_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractbutton_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractproxymodel_wrapper.cpp.o]
Error 1
make[1]: *** [PySide/QtGui/CMakeFiles/QtGui.dir/all] Error 2
make: *** [all] Error 2


I was able to get it to compile by removing the <object-type name="QGtkStyle">
declaration from PySide/QtGui/typesystem_gui_common.xml. The correct solution
would probably be to make parts of typesystem_gui_common.xml conditional. Are
there any suggestions on how to achieve this?
Comment 1 renato filho 2011-02-07 10:40:56 EET
We have a check for this already, and this is not working for some reason, then
we need check this.

Since this is a compilation problem I will classify this as P2.
Comment 2 renato filho 2011-02-08 14:51:00 EET
fixed on pyside commit:

commit 8e4b414844c66b07fdbd22d92d0261519f0edde5
Author: Renato Araujo Oliveira Filho <renato.filho@openbossa.org>
Date:   Tue Feb 8 11:57:59 2011 -0300
Comment 3 Magnus Kessler 2011-02-08 19:08:22 EET
Unfortunately, the fix doesn't seem to work on my gentoo system. I still get
compilation failure, complaining about ::QgtkStyle not being declared.

In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractbutton_wrapper.cpp:38:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:33:
error: template-id ‘SbkType<<expression error> >’ for ‘PyTypeObject*
Shiboken::SbkType()’ does not match any template declaration
In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractgraphicsshapeitem_wrapper.cpp:35:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:33:
error: template-id ‘SbkType<<expression error> >’ for ‘PyTypeObject*
Shiboken::SbkType()’ does not match any template declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:32:
error: ‘QGtkStyle’ was not declared in this scope
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:50:
error: ‘QGtkStyle’ does not name a type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:61:
error: ISO C++ forbids declaration of ‘cppobj’ with no type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:18:
error: template-id ‘createWrapper<<expression error> >’ for ‘PyObject*
Shiboken::createWrapper(const int*, bool, bool)’ does not match any template
declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:32:
error: ‘QGtkStyle’ was not declared in this scope
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:50:
error: ‘QGtkStyle’ does not name a type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:61:
error: ISO C++ forbids declaration of ‘cppobj’ with no type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:18:
error: template-id ‘createWrapper<<expression error> >’ for ‘PyObject*
Shiboken::createWrapper(const int*, bool, bool)’ does not match any template
declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:32:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:69:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:31:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:32:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:69:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:31:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
[ 36%] Built target QtNetwork
[ 36%] Building CXX object
PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractproxymodel_wrapper.cpp.o
In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractitemdelegate_wrapper.cpp:37:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:33:
error: template-id ‘SbkType<<expression error> >’ for ‘PyTypeObject*
Shiboken::SbkType()’ does not match any template declaration
In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractitemview_wrapper.cpp:38:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:33:
error: template-id ‘SbkType<<expression error> >’ for ‘PyTypeObject*
Shiboken::SbkType()’ does not match any template declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:32:
error: ‘QGtkStyle’ was not declared in this scope
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:50:
error: ‘QGtkStyle’ does not name a type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:61:
error: ISO C++ forbids declaration of ‘cppobj’ with no type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:18:
error: template-id ‘createWrapper<<expression error> >’ for ‘PyObject*
Shiboken::createWrapper(const int*, bool, bool)’ does not match any template
declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:32:
error: ‘QGtkStyle’ was not declared in this scope
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:50:
error: ‘QGtkStyle’ does not name a type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:61:
error: ISO C++ forbids declaration of ‘cppobj’ with no type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:18:
error: template-id ‘createWrapper<<expression error> >’ for ‘PyObject*
Shiboken::createWrapper(const int*, bool, bool)’ does not match any template
declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:32:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:69:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:31:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:32:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:69:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:31:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractgraphicsshapeitem_wrapper.cpp.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractbutton_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractitemdelegate_wrapper.cpp.o]
Error 1
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractitemview_wrapper.cpp.o]
Error 1
In file included from
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/qabstractproxymodel_wrapper.cpp:37:0:
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:42:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1443:33:
error: template-id ‘SbkType<<expression error> >’ for ‘PyTypeObject*
Shiboken::SbkType()’ does not match any template declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:32:
error: ‘QGtkStyle’ was not declared in this scope
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:50:
error: ‘QGtkStyle’ does not name a type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:61:
error: ISO C++ forbids declaration of ‘cppobj’ with no type
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1956:18:
error: template-id ‘createWrapper<<expression error> >’ for ‘PyObject*
Shiboken::createWrapper(const int*, bool, bool)’ does not match any template
declaration
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:32:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:57:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6299:69:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:19:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:31:
error: template argument 1 is invalid
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:65:
error: ‘::QGtkStyle’ has not been declared
/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6304:77:
error: template argument 1 is invalid
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractproxymodel_wrapper.cpp.o]
Error 1
make[1]: *** [PySide/QtGui/CMakeFiles/QtGui.dir/all] Error 2
Comment 4 Hugo Parente Lima 2011-02-08 19:20:29 EET
Could you attach the file:

/var/tmp/portage/dev-python/pyside-9999/work/pyside-9999_build/CMakeCache.txt ?
Comment 5 Magnus Kessler 2011-02-08 19:39:21 EET
Created attachment 258 [details]
CMakeCache.txt of failed compilation
Comment 6 Matti Airas 2011-02-09 05:55:23 EET
In my opinion, if Gentoo has a non-standard Qt setup, they ought to provide a
patch for this. Hence, please lower to P4 or P5.
Comment 7 renato filho 2011-02-09 09:57:08 EET
Could you attach the "pyside_qtgui_python.h" file and the
"PySide/QtGui/typesystem_gui.xml" which was generated inside of your build dir.

Thanks
Comment 8 Magnus Kessler 2011-02-09 10:35:42 EET
Created attachment 259 [details]
pyside_qtgui_python.h
Comment 9 Magnus Kessler 2011-02-09 10:36:28 EET
Created attachment 260 [details]
typesystem_gui.xml
Comment 10 renato filho 2011-02-09 12:28:47 EET
Created attachment 262 [details]
path to fix typesystem generation

Could you try this patch, I think this can solve the problem
Comment 11 Magnus Kessler 2011-02-10 04:18:48 EET
(In reply to comment #10)
> Created an attachment (id=262) [details]
> path to fix typesystem generation
> 
> Could you try this patch, I think this can solve the problem

I can confirm that with this patch (which was already merged into git master as
88c38236d4cbbbcff1fa4f0e34b6249796a370c7) the build now completes. Closing the
bug again as fixed. Thanks a lot.
Comment 12 Hugo Parente Lima 2011-02-17 19:18:19 EET
Released in 1.0.0~rc1