summaryrefslogtreecommitdiffstats
path: root/tests/auto/qsql
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 16:49:06 +0200
committerFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-05-23 16:49:06 +0200
commit6a3dce19957535d9b9b7311a487469ed7566ac25 (patch)
tree7a6dffcc9080e67fc30201590a700a5a3e261be3 /tests/auto/qsql
parent37d76a679878d7c07f8a2cb17f7bda46f6582572 (diff)
Tests: Compile.
Diffstat (limited to 'tests/auto/qsql')
-rw-r--r--tests/auto/qsql/tst_qsql.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/auto/qsql/tst_qsql.cpp b/tests/auto/qsql/tst_qsql.cpp
index 7f3c63b510..b6025c6592 100644
--- a/tests/auto/qsql/tst_qsql.cpp
+++ b/tests/auto/qsql/tst_qsql.cpp
@@ -41,7 +41,7 @@
#include <QtTest/QtTest>
-#include <qapplication.h>
+#include <qguiapplication.h>
#include <qsqldatabase.h>
#include <qsqlerror.h>
#include <qsqlquery.h>
@@ -117,7 +117,7 @@ void tst_QSql::cleanup()
void tst_QSql::basicDriverTest()
{
int argc = 0;
- QApplication app( argc, 0, false );
+ QGuiApplication app( argc, 0, false );
tst_Databases dbs;
dbs.open();
@@ -187,7 +187,7 @@ void tst_QSql::openInvalid()
void tst_QSql::concurrentAccess()
{
int argc = 0;
- QApplication app( argc, 0, false );
+ QGuiApplication app( argc, 0, false );
tst_Databases dbs;
dbs.open();
@@ -215,7 +215,7 @@ void tst_QSql::concurrentAccess()
void tst_QSql::openErrorRecovery()
{
int argc = 0;
- QApplication app( argc, 0, false );
+ QGuiApplication app( argc, 0, false );
tst_Databases dbs;
dbs.addDbs();
@@ -262,7 +262,7 @@ void tst_QSql::openErrorRecovery()
void tst_QSql::registerSqlDriver()
{
int argc = 0;
- QApplication app( argc, 0, false );
+ QGuiApplication app( argc, 0, false );
QSqlDatabase::registerSqlDriver( "QSQLTESTDRIVER", new QSqlDriverCreator<QSqlNullDriver> );
QVERIFY( QSqlDatabase::drivers().contains( "QSQLTESTDRIVER" ) );