diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-03-21 15:19:40 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-03-22 19:52:26 +0100 |
commit | 37842c2fdb10b8802cae7ebeead7d4e356251053 (patch) | |
tree | 01b805e009ecee542cf0c391c2a484315ce6c4a9 /tests/manual/textrendering | |
parent | 4e07286a30fb58321f46a9fd0e0033f06bf9eb4d (diff) |
Compile most manual tests with Qt 4.
Replace <QtWidgets> includes by class includes, remove tests
that do not compile.
Change-Id: I52837e8c567dc8ac365c7d43c37beb9a368f6f72
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/manual/textrendering')
-rw-r--r-- | tests/manual/textrendering/glyphshaping/main.cpp | 10 | ||||
-rw-r--r-- | tests/manual/textrendering/textperformance/main.cpp | 7 |
2 files changed, 15 insertions, 2 deletions
diff --git a/tests/manual/textrendering/glyphshaping/main.cpp b/tests/manual/textrendering/glyphshaping/main.cpp index 21e57152dd..e7720522fb 100644 --- a/tests/manual/textrendering/glyphshaping/main.cpp +++ b/tests/manual/textrendering/glyphshaping/main.cpp @@ -39,7 +39,15 @@ ** ****************************************************************************/ -#include <QtWidgets> +#include <QApplication> +#include <QStringList> +#include <QVector> +#include <QFile> +#include <QDir> +#include <QPainter> +#include <QFontMetrics> +#include <QImage> +#include <QXmlStreamReader> static const int fontPixelSize = 25; static const QLatin1String fontFamily("Series 60 Sans"); diff --git a/tests/manual/textrendering/textperformance/main.cpp b/tests/manual/textrendering/textperformance/main.cpp index 7d02c8c03b..373102436c 100644 --- a/tests/manual/textrendering/textperformance/main.cpp +++ b/tests/manual/textrendering/textperformance/main.cpp @@ -39,7 +39,12 @@ ** ****************************************************************************/ -#include <QtWidgets> +#include <QApplication> +#include <QDialog> +#include <QFontDatabase> +#include <QPainter> +#include <QTime> +#include <QTimer> static const int lastMeasurementsCount = 50; |