Diff for "QtGStreamer/QtGLibResearch"

Differences between revisions 8 and 9
Revision 8 as of 2012-01-01 19:01:35
Size: 9351
Editor: adsl-48
Comment:
Revision 9 as of 2012-01-01 19:18:03
Size: 9724
Editor: adsl-48
Comment:
Deletions are marked like this. Additions are marked like this.
Line 54: Line 54:
    * Turns out it is supported, but does not blend in very well. The return value is not part of the function signature check + you would have to write something like int r = Q_EMIT foobar(); (or whatever... Q_EMIT is a dummy macro that doesn't do anything at all anyway, but most people think it does magic and probably wouldn't know how to use it in a case like this)

This page contains notes on a research I am doing to see if it is possible to bring QtGLib closer to Qt, make it more generic and more feature-complete, so that it can be used for anything besides GStreamer. The bullets below describe possible solutions to the various problems that have been showstoppers until now.

GValue <-> QVariant

GObject <-> QObject

void* <-> GValue

Callbacks

Subclassing

One solution might be the following: