Top "Qobject" questions

QObject is a Qt class which serves as a base class for all Qt objects.

Unresolved external symbol "public: virtual struct QMetaObject const * __thiscall Parent

I inherited a class from QObject : class Parent: public QObject { Q_OBJECT QObject* cl; public: Parent(QObject *parent=0):QObject(parent) { …

c++ qt qobject
Qt Linker Error: "undefined reference to vtable"

This is my header: #ifndef BARELYSOCKET_H #define BARELYSOCKET_H #include <QObject> //! The First Draw of the BarelySocket! …

c++ qt linker-errors vtable qobject
No matching function for QObject::connect

I'm writing a program that send an UDP frame every 10 mS. Here's how my program is supposed to work : I've …

c++ qt qtcore qobject qt-signals
PyQt: RuntimeError: wrapped C/C++ object has been deleted

If I run this code: #!/usr/local/bin/ python3 import sys from PyQt4.QtCore import * from PyQt4.QtGui import * class …

garbage-collection pyqt pyqt4 qobject qmainwindow
Object::connect: No such signal

I have a problem to create custom slots/signal with a struct. I have the following code : qRegisterMetaType<namespace::…

qt signals-slots qobject
Q_OBJECT linker error!

I am receiving the following linker error when I build my application. HIMyClass.obj:: error: unresolved external symbol "public: virtual …

c++ qt qt4 linker-errors qobject
When should Q_OBJECT be used?

The documentation states that: The Q_OBJECT macro must appear in the private section of a class definition that declares …

c++ qt qobject
What is qobject_cast?

Could someone explain in as simple terms as possible (or as simple as you would like) what qobject_cast is, …

c++ qt dynamic-cast qobject
Is it possible to disconnect all of a QObject's connections without deleting it

I have a QObject A, this is connected to another QObject B. Now I want A to connect to C, …

c++ qt qobject qmetaobject
How can I create a new window from within QML?

Is there a way to create a completely new window instance, as a child window of the main QML window …

window qml qobject