diff options
author | Liang Qi <liang.qi@nokia.com> | 2010-05-25 15:49:43 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2010-05-25 15:49:43 (GMT) |
commit | afe3c2e741b372f88bf37c1df95ad30b468931e8 (patch) | |
tree | 4241b4e648efbea9fba277f2f26ad5e8e87a9fd4 /tests/auto/qabstractprintdialog | |
parent | b105d39e12c22321e06a6c4d9e8e05aaf92036bd (diff) | |
download | Qt-afe3c2e741b372f88bf37c1df95ad30b468931e8.zip Qt-afe3c2e741b372f88bf37c1df95ad30b468931e8.tar.gz Qt-afe3c2e741b372f88bf37c1df95ad30b468931e8.tar.bz2 |
Fix the compilation for tst_qabstractprintdialog and tst_qprinter on symbian.
Diffstat (limited to 'tests/auto/qabstractprintdialog')
-rw-r--r-- | tests/auto/qabstractprintdialog/tst_qabstractprintdialog.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qabstractprintdialog/tst_qabstractprintdialog.cpp b/tests/auto/qabstractprintdialog/tst_qabstractprintdialog.cpp index 15f427c..0700e9e 100644 --- a/tests/auto/qabstractprintdialog/tst_qabstractprintdialog.cpp +++ b/tests/auto/qabstractprintdialog/tst_qabstractprintdialog.cpp @@ -50,6 +50,8 @@ //TESTED_CLASS= //TESTED_FILES= +#if !defined(QT_NO_PRINTER) && !defined(QT_NO_PRINTDIALOG) + class tst_QAbstractPrintDialog : public QObject { Q_OBJECT @@ -141,3 +143,9 @@ void tst_QAbstractPrintDialog::setFromTo() QTEST_MAIN(tst_QAbstractPrintDialog) #include "tst_qabstractprintdialog.moc" + +#else + +QTEST_NOOP_MAIN + +#endif |