Fix moc autotest failures
commit73cffd26dcfbfee48caf86329d636361d02e5c03
authorSimon Hausmann <simon.hausmann@nokia.com>
Mon, 6 Apr 2009 08:38:54 +0000 (6 10:38 +0200)
committerSimon Hausmann <simon.hausmann@nokia.com>
Mon, 6 Apr 2009 10:17:56 +0000 (6 12:17 +0200)
tree6db5ba6a6774d2038d54195d1811269130a90559
parent1e32cdefa382b16eaffc663594ccab1dbe1faebb
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>
tests/auto/moc/forgotten-qinterface.h
tests/auto/moc/tst_moc.cpp