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 5 - Building BoostPythonGenerator 0.2 fails on Mac OSX and MacPorts.
: Building BoostPythonGenerator 0.2 fails on Mac OSX and MacPorts.
Status: CLOSED FIXED
Product: PySide
Classification: Unclassified
Component: BoostPythonGenerator
: HEAD
: All Mac OS
: P5 normal
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2009-08-19 17:07 EEST by Leonardo Santagada
Modified: 2009-10-14 14:20 EEST (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo Santagada 2009-08-19 17:07:03 EEST
This is the error I get:

boostpythongenerator-0.2 santagada$ make
[ 12%] Building CXX object
CMakeFiles/libboostpythongenerator.dir/docgenerator.cpp.o
boostpythongenerator-0.2/docgenerator.cpp: In member function ‘QString
QtXmlToSphinx::transform(const QString&)’:
boostpythongenerator-0.2/docgenerator.cpp:162: error: invalid initialization of
reference of type ‘QXmlStreamReader&’ from expression of type
‘QCoreXmlStreamReader’
boostpythongenerator-0.2/docgenerator.cpp: At global scope:
boostpythongenerator-0.2/docgenerator.cpp:210: error: prototype for ‘void
QtXmlToSphinx::handleHeadingTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:90: error: candidate is: void
QtXmlToSphinx::handleHeadingTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:230: error: prototype for ‘void
QtXmlToSphinx::handleParaTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:91: error: candidate is: void
QtXmlToSphinx::handleParaTag(QXmlStreamReader&)
aboostpythongenerator-0.2/docgenerator.cpp:255: error: prototype for ‘void
QtXmlToSphinx::handleItalicTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:92: error: candidate is: void
QtXmlToSphinx::handleItalicTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:266: error: prototype for ‘void
QtXmlToSphinx::handleBoldTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:93: error: candidate is: void
QtXmlToSphinx::handleBoldTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:277: error: prototype for ‘void
QtXmlToSphinx::handleArgumentTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:94: error: candidate is: void
QtXmlToSphinx::handleArgumentTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:286: error: prototype for ‘void
QtXmlToSphinx::handleSeeAlsoTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:95: error: candidate is: void
QtXmlToSphinx::handleSeeAlsoTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:295: error: prototype for ‘void
QtXmlToSphinx::handleSnippetTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:96: error: candidate is: void
QtXmlToSphinx::handleSnippetTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:325: error: prototype for ‘void
QtXmlToSphinx::handleDotsTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:97: error: candidate is: void
QtXmlToSphinx::handleDotsTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:347: error: prototype for ‘void
QtXmlToSphinx::handleTableTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:107: error: candidate is: void
QtXmlToSphinx::handleTableTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:362: error: prototype for ‘void
QtXmlToSphinx::handleTermTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:101: error: candidate is: void
QtXmlToSphinx::handleTermTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:377: error: prototype for ‘void
QtXmlToSphinx::handleItemTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:109: error: candidate is: void
QtXmlToSphinx::handleItemTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:399: error: prototype for ‘void
QtXmlToSphinx::handleRowTag(QCoreXmlStreamReader&)’ does not match any in class
‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:108: error: candidate is: void
QtXmlToSphinx::handleRowTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:408: error: prototype for ‘void
QtXmlToSphinx::handleListTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:100: error: candidate is: void
QtXmlToSphinx::handleListTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:442: error: prototype for ‘void
QtXmlToSphinx::handleLinkTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:98: error: candidate is: void
QtXmlToSphinx::handleLinkTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:519: error: prototype for ‘void
QtXmlToSphinx::handleImageTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:99: error: candidate is: void
QtXmlToSphinx::handleImageTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:534: error: prototype for ‘void
QtXmlToSphinx::handleRawTag(QCoreXmlStreamReader&)’ does not match any in class
‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:110: error: candidate is: void
QtXmlToSphinx::handleRawTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:549: error: prototype for ‘void
QtXmlToSphinx::handleCodeTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:111: error: candidate is: void
QtXmlToSphinx::handleCodeTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:566: error: prototype for ‘void
QtXmlToSphinx::handleUnknownTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:114: error: candidate is: void
QtXmlToSphinx::handleUnknownTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:573: error: prototype for ‘void
QtXmlToSphinx::handleSuperScriptTag(QCoreXmlStreamReader&)’ does not match any
in class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:102: error: candidate is: void
QtXmlToSphinx::handleSuperScriptTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:587: error: prototype for ‘void
QtXmlToSphinx::handleIgnoredTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:113: error: candidate is: void
QtXmlToSphinx::handleIgnoredTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:591: error: prototype for ‘void
QtXmlToSphinx::handleUselessTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:115: error: candidate is: void
QtXmlToSphinx::handleUselessTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:597: error: prototype for ‘void
QtXmlToSphinx::handleAnchorTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:116: error: candidate is: void
QtXmlToSphinx::handleAnchorTag(QXmlStreamReader&)
boostpythongenerator-0.2/docgenerator.cpp:615: error: prototype for ‘void
QtXmlToSphinx::handleQuoteFileTag(QCoreXmlStreamReader&)’ does not match any in
class ‘QtXmlToSphinx’
boostpythongenerator-0.2/docgenerator.h:103: error: candidate is: void
QtXmlToSphinx::handleQuoteFileTag(QXmlStreamReader&)
make[2]: *** [CMakeFiles/libboostpythongenerator.dir/docgenerator.cpp.o] Error
1
make[1]: *** [CMakeFiles/libboostpythongenerator.dir/all] Error 2
make: *** [all] Error 2

Am I doing something wrong or do you guys have any tip in trying to solve this?
Comment 1 Hugo Parente Lima 2009-08-19 19:09:25 EEST
What's your Qt version? This class, QCoreXmlStream, does not exists in my Qt
instalation (linux).
Comment 2 Leonardo Santagada 2009-08-19 22:32:59 EEST
Mine is 4.5.2

$ port info qt4-mac
qt4-mac @4.5.2, Revision 1 (aqua)
Variants:    (+)cocoa, mysql, noframework, odbc, psql, raster, sqlite2,
universal

This is Qt, TrollTech's C++ toolkit for writing cross-platform GUI
applications. This version uses the native Aqua UI.
For a X11 version, see qt4-x11.
Homepage:    http://www.trolltech.com/

Build Dependencies:   pkgconfig
Library Dependencies: zlib, tiff, libpng, libmng, jpeg, dbus, openssl, sqlite3
Platforms:            macosx
Maintainers:          erickt@macports.org clubjuggler@gmail.com
openmaintainer@macports.org
Comment 3 Carlos Gonçalves 2009-09-09 20:24:43 EEST
(In reply to comment #1)
> What's your Qt version? This class, QCoreXmlStream, does not exists in my Qt
> instalation (linux).

It is defined in include/QtCore/qxmlstream.h:
# define QXmlStreamReader QCoreXmlStreamReader
Comment 4 renato filho 2009-09-14 15:48:58 EEST
fixed on commit: 3d18dd2011db8901032dee7136df014b502d0aa7