Thanks jacek it works.
Only when i compile the compiler give a error on this
qsobjectfactory.h:61: fout: expected ‘,’ or ‘...’ before ‘*’ token
qsobjectfactory.h:62: fout: ISO C++ forbids declaration of ‘QMetaObject’ with no type
qsobjectfactory.cpp:241: fout: prototype for ‘void QSObjectFactory::registerClass(const QString&, const QMetaObject*, QObject*)’ does not match any in class ‘QSObjectFactory’
qsobjectfactory.h:62: fout: candidate is: void QSObjectFactory::registerClass(const QString&, int)
make[3]: *** [qsobjectfactory.o] Fout 1
make[3]: Leaving directory `/tmp/qsa-x11-opensource-1.2.0/src/qsa'
make[2]: *** [sub-qsa-make_default-ordered] Fout 2
make[2]: Leaving directory `/tmp/qsa-x11-opensource-1.2.0/src'
make[1]: *** [sub-src-make_default-ordered] Fout 2
make[1]: Leaving directory `/tmp/qsa-x11-opensource-1.2.0'
make: *** [run-make] Fout 2




Reply With Quote
Bookmarks