Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 14:53:14 -0600
From:      Andy Akins <andy@leonidae.org>
To:        FreeBSD-Stable@FreeBSD.org
Subject:   Py22-QT Port
Message-ID:  <200303261453.20969.andy@leonidae.org>

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

--Boundary-02=_ANhg+F8xhkate27
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Description: signed data
Content-Disposition: inline

I'm having a bit of a problem with the PyQT port...any help would be=20
appreciated.

=46irst of all, the port itself doesn't download the correct files, because=
 they=20
don't seem to be available...PyQt-x11-gpl-3.4.tar.gz has been replaced by a=
=20
newer version, PyQt-x11-gpl-3.5.tar.gz. Assuing that usingthe newer one mig=
ht=20
not be such a good idea, I searched the web and found a=20
PyQt-x11-gpl-3.4.tar.gz on the Gentoo Linux distfiles site. When I installe=
d=20
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:

=3D=3D=3D>  Building for py22-qt-3.4_1
cd qt && "/usr/bin/make" -f Makefile
c++ -c -pipe -w -O -pipe -march=3Dk6 -pthread -D_THREAD_SAFE -fPIC =20
=2DDSIP_MAKE_MODULE_DLL -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -fno-exceptions=20
=2DI/usr/X11R6/share/qt/mkspecs/default -I. -I.=20
=2DI../../../../../../local/include/python2.2=20
=2DI../../../../../../local/include/sip -I../../../../../../local/include=20
=2DI/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=
 *,=20
PyObject *)':
sipqtQFile.cpp:6460: no matching function for call to=20
`QTabletEvent::QTabletEvent (QPoint &, int &, int &, int &, int &,=20
QPair<int,int> &)'
/usr/X11R6/include/qevent.h:230: candidates are:=20
QTabletEvent::QTabletEvent(QEvent::Type, const QPoint &, const QPoint &, in=
t,=20
int, int, int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:233:                =20
QTabletEvent::QTabletEvent(const QPoint &, const QPoint &, int, int, int,=20
int, const QPair<int,int> &)
/usr/X11R6/include/qevent.h:262:                =20
QTabletEvent::QTabletEvent(const QTabletEvent &)
sip/qevent.sip: In function `struct PyObject * sipSubClass_QEvent(const QEv=
ent=20
*)':
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 wha=
t=20
to do about it.=20

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

Thanks for all your help.

  Andy Akins

=2D-=20
+----------------------------------+----------------------------------+
| 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          |
+---------------------------------------------------------------------+

--Boundary-02=_ANhg+F8xhkate27
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+ghNA1P3/LCbrRXoRAu0cAJ4p7+pntMn0ZPE1NV4CdVO3DP72MQCggSOg
KeQOAMJYplAtBcwEQxsP+aI=
=i7i1
-----END PGP SIGNATURE-----

--Boundary-02=_ANhg+F8xhkate27--



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