I'm hitting a wall here. I have a plugin interface that needs signals and slots (so must subclass QObject and have the Q_OBJECT macro), then my subclasses (or my plugins, as it were) need to inherit both my interface and either QWidget or something similar (like QGLWidget).
Unfortunately, when I inherit both my interface and QWidget, my compiler is telling me that QObject is an ambiguous base of my plugin. This appears to stem from the Q_EXPORT_PLUGIN2() macro. Here's the exact compiler output:Is there any way around this?Originally Posted by gcc
Bookmarks