Fixed compile of autotests for Mac & QPA
authorRohan McGovern <rohan.mcgovern@nokia.com>
Tue, 21 Jun 2011 07:36:13 +0000 (09:36 +0200)
committerQt Continuous Integration System <qt-info@nokia.com>
Tue, 21 Jun 2011 11:52:20 +0000 (13:52 +0200)
commitf9ae26acf20dc90f578b191fe906ab680b4fc97b
tree8315268fe1bc76bd19500ff4d4c78791986d595c
parent84d0a2cc8ef0fbd58387b71ec53af25072d9ae90
Fixed compile of autotests for Mac & QPA

Several autotests were assuming that Q_OS_MAC == Mac cocoa port, which
caused compile failures when QPA is used.

Change-Id: I4480ed815c15b6d9ce83edf0057b7293f2e3ad7e
Reviewed-on: http://codereview.qt.nokia.com/533
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
tests/auto/other.pro
tests/auto/qfontdialog/qfontdialog.pro
tests/auto/qlayout/tst_qlayout.cpp
tests/auto/qmacstyle/tst_qmacstyle.cpp
tests/auto/qwidget/qwidget.pro