Questions tagged [qmetaobject]

QMetaObject is a class from the Qt Toolkit which provides meta-information about Qt objects.

Documentation can be found here (Qt4) and here (Qt5).

61 questions
0
votes
3 answers

compiler error C2248:'QObject::Qobject':cannot access private member declared in class 'QObject'

Hi Everyone i have a foo class Code in foo.h namespace GUI { class Foo : public QObject { Q_OBJECT public: explicit Foo(QObject *parent = 0); virtual ~Foo(); .... }; } Now this is working and compiling fine but i want to save this custom c++…
bourne
  • 1,083
  • 4
  • 14
  • 27
1 2 3 4
5