Commit f94f59f7 authored by Dave Partyka's avatar Dave Partyka Committed by Kitware Robot
Browse files

Merge topic 'qt-no-stl'

8ed9dcc0 COMP: Fix additional compile errors.
parents af1ac86a 8ed9dcc0
......@@ -156,7 +156,7 @@ int TestQtSQLDatabase(int argc, char* argv[])
{
QString createQuery("CREATE TABLE IF NOT EXISTS people (name TEXT, age INTEGER, weight FLOAT)");
cout << createQuery.toAscii().data() << endl;
query->SetQuery(createQuery.toAscii().data()));
query->SetQuery(createQuery.toAscii().data());
if (!query->Execute())
{
cerr << "Create query failed" << endl;
......@@ -167,7 +167,7 @@ int TestQtSQLDatabase(int argc, char* argv[])
{
QString insertQuery = QString("INSERT INTO people VALUES('John Doe %1', %1, %2)").arg(i).arg(10*i);
cout << insertQuery.toAscii().data() << endl;
query->SetQuery(insertQuery.toAscii().data()));
query->SetQuery(insertQuery.toAscii().data());
if (!query->Execute())
{
cerr << "Insert query failed" << endl;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment