I will now die. I am too ignorant to make it work.
10.2.setEventCB.py segfaults for me.
It is almost there, but it is not there. SoQt.init returns a string,
which I can't use as the parent widget of my PyQt derived class.
SoQt.show and mainLoop need a string as a parameter, so my PyQt derived
class can't go there.
I humbly beg of your help.
I don't understand the following; I would love a non-portable linkage to
libsip if it would get me the Qt widget set:
* In case anybody wonders! yes, i know that one can achieve all of
this
* in a very simple and elegant fashion by just using the sip library,
* like e.g. adding the following instead of the structure
declarations
* and our stunt:
* #define ANY_TEMP ANY
* #undef ANY
* #include <sip.h>
* #undef ANY
* #define ANY ANY_TEMP
*
* extern PyObject *sipClass_QEvent;
* qev = sipNewCppToSelfSubClass(event, sipClass_QEvent, SIP_SIMPLE
| SIP_PY_OWNED);
*
* this works perfectly and is such a lovely solution that i really
wanted
* to keep it. BUT libsip gets installed into the python site-packages
* directory and not only would we need to link against libsip but
also
* against the libqtcmodule for the sipClass_Qevent object. this
SUCKS,
* adds new library dependencies, which i simply don't want to cope
with
* and makes the platform independent goal harder to achieve.
I should say that the rest of it works GREAT! This is a monumental
work. It is so solid and functional and beautiful.
I thank you very much for this wonderful thing, which someone should
have done long ago, but only you actually accomplished. 1 2168
FYI:
Tamer Fahmy has made it work.
Using:
Pivy Rev 229
Coin-2.3.0
PyQt-x11-gpl-3.13
Python-2.3.4
sip-4.1.1
SoQt-1.0.2
SWIG-1.3.21
everything works.
10.2.setEventCB works, and SoQt.init returns a QWidget which I can use as
the parent
of my PyQt derived widget, which contains a frame that can be used as the
parent of an
SoQtRenderArea to display Coin renderings.
I can even use an SoQtExaminerViewer, and it can animate the windmill while
I click a
button in my PyQt derived widget and have it's slot execute
Tamer Fahmy ROCKS!
Chump Wad wrote: I will now die. I am too ignorant to make it work.
10.2.setEventCB.py segfaults for me.
It is almost there, but it is not there. SoQt.init returns a string, which I can't use as the parent widget of my PyQt derived class.
SoQt.show and mainLoop need a string as a parameter, so my PyQt derived class can't go there.
I humbly beg of your help.
I don't understand the following; I would love a non-portable linkage to libsip if it would get me the Qt widget set:
* In case anybody wonders! yes, i know that one can achieve all of this * in a very simple and elegant fashion by just using the sip library,
* like e.g. adding the following instead of the structure declarations * and our stunt: * #define ANY_TEMP ANY * #undef ANY * #include <sip.h> * #undef ANY * #define ANY ANY_TEMP * * extern PyObject *sipClass_QEvent; * qev = sipNewCppToSelfSubClass(event, sipClass_QEvent, SIP_SIMPLE | SIP_PY_OWNED); * * this works perfectly and is such a lovely solution that i really wanted * to keep it. BUT libsip gets installed into the python site-packages
* directory and not only would we need to link against libsip but also * against the libqtcmodule for the sipClass_Qevent object. this SUCKS, * adds new library dependencies, which i simply don't want to cope with * and makes the platform independent goal harder to achieve.
I should say that the rest of it works GREAT! This is a monumental work. It is so solid and functional and beautiful.
I thank you very much for this wonderful thing, which someone should have done long ago, but only you actually accomplished. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ilya Knizhnik |
last post by:
Dear All,
I am fairly new to Python. I have found it an easy language to learn and
a very usefull one for many tasks. Currently I am working on a python
project that involves a GUI and it was...
|
by: Vamsi Mudrageda |
last post by:
I am kind of new to Python, and after trying and using wxPython, I found
it kind of lacking in easy-to-read documentation, speed at loading, and
GUI response-time.
So I am looking for an another...
|
by: simo |
last post by:
OK, so I'm at the stage where I want to make a choice between wxPython
and PyQt.
Currently I'm using wxPython mainly due to the fact that it has GPL
Linux and Windows versions.
I prefer Qt to...
|
by: svenn.are |
last post by:
Hi,
I wanted to run a program that is written in PyQt on my mac, and went
over to Riverbank to get PyQ 3.13 and SIP 4.1.1 sources.
I followed the installation guide except for the compiling...
|
by: Fabio |
last post by:
Hi all,
I'm about to write an application, and I'd like to use PyQt, but before
choosing this toolkit I would like to clarify some particular licensing
issues; if some user has already touched...
|
by: Simon John |
last post by:
After quite a while of wxPython I'm getting back into PyQt, mainly due
to the announcement by Trolltech that they will make a GPL version of
Qt4 for Windows (and Phil-T said he will make a PyQt to...
|
by: Phil Thompson |
last post by:
Riverbank Computing is pleased to announce the release of PyQt v3.14 available
from http://www.riverbankcomputing.co.uk/.
Changes since the last release include support for QScintilla v1.5.
...
|
by: Phil Thompson |
last post by:
Riverbank Computing is pleased to announce the release of PyQt v4.0beta1
available from http://www.riverbankcomputing.co.uk/pyqt/.
PyQt is a comprehensive set of Qt bindings for the Python...
|
by: azrael |
last post by:
Hy Guys
Did anyone manage to install and use Pivy. I'm trying it and cant come
closer to the goal I get the message:
Please set the COIN3DDIR environment variable to your Coin root
directory!...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: ryjfgjl |
last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |