Hi,

I've just installed and compiled the Qt4.6 TP1 on Linux and am running
into a problem when trying to call the new function
getStaticMetaObject(). Compilation works fine as this function is
declared in the Q_OBJECT macro, but linking fails as the moc-generated
code puts the implementation into a #ifdef QT_NO_DATA_RELOCATIONS.

I've built Qt using:
configure -no-pch -debug -nomake examples -nomake demos -confirm-license

The attached main.cpp shows the problem, just run 
qmake -project; qmake; make
and it'll fail during the link-step.

Andreas

-- 
Andreas Pakulat [email protected]
froglogic GmbH - Automated UI and Web Testing
#include <QtCore>

int main(int argc, char** argv)
{
    QObject* o = new QObject();
    o->getStaticMetaObject();
}
_______________________________________________
Qt4-preview-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback

Reply via email to