diff options
author | Simon Hausmann <simon.hausmann@nokia.com> | 2009-04-06 08:38:54 (GMT) |
---|---|---|
committer | Simon Hausmann <simon.hausmann@nokia.com> | 2009-04-06 10:17:56 (GMT) |
commit | 73cffd26dcfbfee48caf86329d636361d02e5c03 (patch) | |
tree | 6db5ba6a6774d2038d54195d1811269130a90559 /tests/auto/moc/forgotten-qinterface.h | |
parent | 1e32cdefa382b16eaffc663594ccab1dbe1faebb (diff) | |
download | Qt-73cffd26dcfbfee48caf86329d636361d02e5c03.zip Qt-73cffd26dcfbfee48caf86329d636361d02e5c03.tar.gz Qt-73cffd26dcfbfee48caf86329d636361d02e5c03.tar.bz2 |
Fix moc autotest failures
We have to pass the correct include paths when testing the multiple
inheritance warning, because we want moc to find the QtGui and QObject
headers.
In addition we have to adjust the line numbers and include QObject in
the qobject test to avoid a warning about the unknown QObject
superclass.
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'tests/auto/moc/forgotten-qinterface.h')
-rw-r--r-- | tests/auto/moc/forgotten-qinterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/moc/forgotten-qinterface.h b/tests/auto/moc/forgotten-qinterface.h index a11793b..370a3d0 100644 --- a/tests/auto/moc/forgotten-qinterface.h +++ b/tests/auto/moc/forgotten-qinterface.h @@ -39,6 +39,8 @@ ** ****************************************************************************/ +#include <QObject> + struct MyInterface { virtual ~MyInterface() {} |