Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 16:21:26 -0600
From:      Andy Akins <andy@leonidae.org>
To:        FreeBSD-Questions@FreeBSD.org
Subject:   Py22-Qt port problems...
Message-ID:  <200303261621.31670.andy@leonidae.org>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
I'm having a bit of a problem with the PyQT port...any help would be 
appreciated.

First of all, the port itself doesn't download the correct files, because they 
don't seem to be available...PyQt-x11-gpl-3.4.tar.gz has been replaced by a 
newer version, PyQt-x11-gpl-3.5.tar.gz. Assuing that usingthe newer one might 
not be such a good idea, I searched the web and found a 
PyQt-x11-gpl-3.4.tar.gz on the Gentoo Linux distfiles site. When I installed 
it into /usr/ports/distfiles, the md5 passed and the install proceeded.

The system sucessfully installed sip.

However, when trying to build py-qt, I get the following pleasantness:

===>  Building for py22-qt-3.4_1
cd qt && "/usr/bin/make" -f Makefile
c++ -c -pipe -w -O -pipe -march=k6 -pthread -D_THREAD_SAFE -fPIC  
-DSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions 
-I/usr/X11R6/share/qt/mkspecs/default -I. -I. 
-I../../../../../../local/include/python2.2 
-I../../../../../../local/include/sip -I../../../../../../local/include 
-I/usr/X11R6/include -o qthuge.o qthuge.cpp
sipqtQLayout.cpp:1853: `unlimited' is not a member of type `QLayout'
sipqtQFile.cpp: In function `struct PyObject * sipNew_QTabletEvent(PyObject *, 
PyObject *)':
sipqtQFile.cpp:6460: no matching function for call to 
`QTabletEvent::QTabletEvent (QPoint &, int &, int &, int &, int &, 
QPair<int,int> &)'
/usr/X11R6/include/qevent.h:230: candidates are: 
QTabletEvent::QTabletEvent(QEvent::Type, const QPoint &, const QPoint &, int, 
int, int, int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:233:                 
QTabletEvent::QTabletEvent(const QPoint &, const QPoint &, int, int, int, 
int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:262:                 
QTabletEvent::QTabletEvent(const QTabletEvent &)
sip/qevent.sip: In function `struct PyObject * sipSubClass_QEvent(const QEvent 
*)':
sip/qevent.sip:504: `Tablet' is not a member of type `QEvent'
sipqtQEvent.cpp: At top level:
sipqtQEvent.cpp:378: `Tablet' is not a member of type `QEvent'
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.4/qt.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt/work/PyQt-x11-gpl-3.4.
*** Error code 1

Stop in /usr/ports/x11-toolkits/py-qt.

With my rusty C++, I can see why this code is failing - but  don't know what 
to do about it. 

Has anyone had any luck installing Py-QT from ports? Am I doing something 
incorrectly?

Thanks for all your help.

  Andy Akins

-- 
+----------------------------------+----------------------------------+
| Andy Akins                       | email: andy@leonidae.org         |
|                                  | web:   http://www.leonidae.org   |
+----------------------------------+----------------------------------+
| public key available at: http://pgp.mit.edu/ as andy@leonidae.org   |
| GPG-FP: 7531 26C0 EB2D 4A0E DFD2  E250 D4FD FF2C 26EB 457A          |
+---------------------------------------------------------------------+

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+gifr1P3/LCbrRXoRAppbAJ9KnzoF8R1SSFPgvyPfX9C7WG2TWgCdEQz+
3hPtXYex4SXwsprVm/ILOCg=
=9Rsb
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303261621.31670.andy>