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 382 - QPyTextObject was not declared in this scope
: QPyTextObject was not declared in this scope
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: PySide
: 0.4.1
: All All
: P3 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2010-09-23 10:20 EEST by Benoît HERVIER
Modified: 2010-10-13 13:49 EEST (History)
8 users (show)

See Also:


Attachments
Raw Log (31.71 KB, application/octet-stream)
2010-09-23 10:20 EEST, Benoît HERVIER
Details
RawLog Meego Core 1.0 - qt4.6.2 (31.71 KB, text/plain)
2010-09-29 07:17 EEST, Benoît HERVIER
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Benoît HERVIER 2010-09-23 10:20:11 EEST
Created attachment 98 [details]
Raw Log 

When trying to build pyside binding in the Meego Community OBS targetting Meego
1.0 x86 :

Detecting inconsistencies in typesystem...   [WARNING]
    enum 'QSysInfo::Endian' is specified in typesystem, but not declared



    Pure virtual method
"QAbstractItemView::moveCursor(QAbstractItemView::CursorAction,QFlags<Qt::KeyboardModifier>)"
must be implement but was completely removed on typesystem.


Done, 2 warnings (901 known issues)
Scanning dependencies of target QtGui
[ 18%] Building CXX object
PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractbutton_wrapper.cpp.o
In file included from
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/qabstractbutton_wrapper.cpp:40:
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1613:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:1613:
error: template-id 'SbkType<<expression error> >' for 'PyTypeObject*
Shiboken::SbkType()' does not match any template declaration
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:2462:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:2462:
error: ISO C++ forbids declaration of 'QPyTextObject' with no type
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:2462:
error: expected ',' or '...' before '*' token
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:2462:
error: template-id 'createWrapper<<expression error> >' for 'PyObject*
Shiboken::createWrapper(int)' does not match any template declaration
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6951:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6951:
error: template argument 1 is invalid
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6951:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6951:
error: template argument 1 is invalid
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6956:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6956:
error: template argument 1 is invalid
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6956:
error: 'QPyTextObject' was not declared in this scope
/home/abuild/rpmbuild/BUILD/pyside-0.4.1/PySide/QtGui/PySide/QtGui/pyside_qtgui_python.h:6956:
error: template argument 1 is invalid
make[2]: ***
[PySide/QtGui/CMakeFiles/QtGui.dir/PySide/QtGui/qabstractbutton_wrapper.cpp.o]
Error 1
make[1]: *** [PySide/QtGui/CMakeFiles/QtGui.dir/all] Error 2
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.kQES8G (%build)
Comment 1 renato filho 2010-09-27 16:49:29 EEST
I'm trying to reproduce this error, but without success.

I'm using libqt-devel-4.7.0-1.4.i586 and you are using
qt-devel-4.7.0~prerelease-6.12, where I can find this? I think the problem is
related with the Qt version.
Comment 2 Benoît HERVIER 2010-09-28 03:01:40 EEST
Sorry the community obs require login/pass and i cannot create you an account.

Anyway i've not found any qt-devel-4.7.0~prerelease-6.12.i586.rpm in the meego
repository, maybe i didn't look well. But there is
qt-devel-4.7.0~prerelease-6.13.i586.rpm which is located on
http://repo.meego.com/MeeGo/builds/1.0.80/1.0.80.13.20100803.1/core/repos/ia32/packages/i586/

I'm sure that the repository target is made with one of this image. But didn't
know which one http://repo.meego.com/MeeGo/builds/1.0.80.

Anyway i ll try to upgrade or ask for creating a more recent target for a more
recent version of qt.
Comment 3 Benoît HERVIER 2010-09-29 07:17:13 EEST
Created attachment 102 [details]
RawLog Meego Core 1.0 - qt4.6.2
Comment 4 Benoît HERVIER 2010-09-29 07:19:31 EEST
The qt 4.7 haven't yet been update to the qt4.7 release on the Meego Current
target on the Meego community obs. But i made some try with the target CORE1.0
release which use Qt 4.6.2. And i got about the same error. So i think it s
something else :) Probably some compilation differences between qt on meego obs
and your version.
Comment 5 renato filho 2010-09-29 15:58:21 EEST
fixed on apiextractor commit:

commit 3bb447fe5c2f00055d1aa47607cdefffaf8036ea
Author: renatofilho <renato.filho@openbossa.org>
Date:   Wed Sep 29 15:39:11 2010 -0300


You can fix this for now whithout the patch, if you build pyside in a directory
inside of the source dir. (normally I use a build dir inside of source dir)
Comment 6 renato filho 2010-10-13 13:49:00 EEST
released on PySide 0.4.2