[PyQt] potential bug in PyQt4 3c67710d0c58 snapshot
Darren Dale
dsdale24 at gmail.com
Fri Oct 1 15:08:35 BST 2010
On Fri, Oct 1, 2010 at 9:16 AM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Fri, 1 Oct 2010 09:02:46 -0400, Darren Dale <dsdale24 at gmail.com> wrote:
>> I've installed last night's sip snapshot. When I try to make last
>> night's PyQt snapshot, I get the following error:
>>
>> /usr/bin/g++-4.2 -c -pipe -fPIC -O2 -Wall -W -DNDEBUG
>> -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DQT_NO_DEBUG
>> -DQT_GUI_LIB -DQT_CORE_LIB -I.
>>
> -I/Users/darren/Downloads/PyQt-mac-gpl-snapshot-4.8-3c67710d0c58/qpy/QtGui
>>
> -I/opt/local/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
>> -I/opt/local/libexec/qt4-mac-devel/mkspecs/default
>> -I/opt/local/libexec/qt4-mac-devel/lib/QtGui.framework/Headers
>> -I/opt/local/libexec/qt4-mac-devel/lib/QtCore.framework/Headers
>> -I/opt/local/libexec/qt4-mac-devel/include
>>
> -F/Users/darren/Downloads/PyQt-mac-gpl-snapshot-4.8-3c67710d0c58/qpy/QtGui
>> -F/opt/local/libexec/qt4-mac-devel/lib -o sipQtGuiQTextOptionTab.o
>> sipQtGuiQTextOptionTab.cpp
>> sipQtGuiQTextOptionTab.cpp: In function ‘void*
>> init_QTextOption_Tab(sipSimpleWrapper*, PyObject*, PyObject*,
>> PyObject**, PyObject**, PyObject**)’:
>> sipQtGuiQTextOptionTab.cpp:206: error: no matching function for call
>> to ‘QTextOption::Tab::Tab(qreal&, QTextOption::TabType&, QChar&)’
>>
> /opt/local/libexec/qt4-mac-devel/lib/QtGui.framework/Headers/qtextoption.h:70:
>> note: candidates are: QTextOption::Tab::Tab()
>>
> /opt/local/libexec/qt4-mac-devel/lib/QtGui.framework/Headers/qtextoption.h:69:
>> note: QTextOption::Tab::Tab(const QTextOption::Tab&)
>> make[1]: *** [sipQtGuiQTextOptionTab.o] Error 1
>> make: *** [all] Error 2
>>
>> This is on a 64-bit SnowLeopard machine. Previous snapshots had built
> ok.
>
> That method was added in Qt v4.7. It looks like (somehow) configure.py has
> detected Qt v4.7 but it is building against an earlier version.
Ah, right. sorry for the noise. I hadn't noticed that MacPorts had not
upgraded their qt4-mac-devel ports from the 4.7 beta release. That
must be the problem.
Darren
More information about the PyQt
mailing list