qt bindings crocked

I'm having some problems with my python qt bindings setup on SuSE 8.1 A python program like this import sys from qt import * # create application object myApp = QApplication(sys.argv) segfaults when it gets to creating the QApplication. I have qt 2.3.2 and qt 3.0.5 installed. There is a qt2 symlink and a qt3 symlink. I'm using Python 2.2.1 Essentially my setup is an out-of-the-box clean install of SuSE 8.1 - I selected python and the qt bindings using YAST2, so it should all "just work". Am I missing something like a QTDIR environment variable? I've tried exporting both QTDIR as /usr/lib/qt2 and QTDIR as /usr/lib/qt3. I get the same seg fault. Or is it some problem with versions of qt? Any suggestions? I should also point out that there is something fishy about my qt environment generally as programs like Knights find unresolved library calls at runtime. The rpm of Knights 0.5.6 for SuSE 8.0 from the Knights website gives the following runtime error : knights: relocation error: knights: undefined symbol: __ti7QWidget In the same way, previously a previously working version of Quanta Gold also give runtime errors. As far as I can recall, I had none of this trouble with SuSE 8.0 - Ken

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 26 December 2002 05:29 am, Kenneth Payne wrote:
I'm having some problems with my python qt bindings setup on SuSE 8.1
That's because they're broken as released by SuSE. I provide a newer version that works at ftp.funktronics.ca. You'll need the following files: ftp://ftp.funktronics.ca/pub/rpm/SuSE-8.1/i586/sip-3.5-1.i586.rpm ftp://ftp.funktronics.ca/pub/rpm/SuSE-8.1/i586/PyQt-3.5-1.i586.rpm ftp://ftp.funktronics.ca/pub/rpm/SuSE-8.1/i586-f/qscintilla-0.3-1.i586.rpm and, optionally: ftp://ftp.funktronics.ca/pub/rpm/SuSE-8.1/i586/PyQt-devel-3.5-1.i586.rpm It's probably easier to use apt, though... I've only tested these with Python 2.2.2, however, because there's a nasty bug in 2.2.1 that affected me. If you need that, you grab it from ftp://ftp.suse.com/pub/people/adrian/python If you have any trouble with the new bindings, it's best to email me at jfunk@funktronics.ca.
I should also point out that there is something fishy about my qt environment generally as programs like Knights find unresolved library calls at runtime.
The rpm of Knights 0.5.6 for SuSE 8.0 from the Knights website gives the following runtime error :
knights: relocation error: knights: undefined symbol: __ti7QWidget
In the same way, previously a previously working version of Quanta Gold also give runtime errors.
As far as I can recall, I had none of this trouble with SuSE 8.0
The c++ compiler changed in SuSE 8.1. Those programs will need to be recompiled. Hope that helps, - -- James Oakley Engineering - SolutionInc Ltd. joakley@solutioninc.com http://www.solutioninc.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE+FGAi+FOexA3koIgRAjUjAJ9V1UfyNYRia6tjz6btwhRziMaEjwCgmlnh /ZVW8QjvvWy7FbG8A0mjHvk= =Dld1 -----END PGP SIGNATURE-----
participants (2)
-
James Oakley
-
Kenneth Payne