diff options
Diffstat (limited to 'qt/sqlite/date-time/driver.cxx')
-rw-r--r-- | qt/sqlite/date-time/driver.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/qt/sqlite/date-time/driver.cxx b/qt/sqlite/date-time/driver.cxx index a095aa5..0ee5831 100644 --- a/qt/sqlite/date-time/driver.cxx +++ b/qt/sqlite/date-time/driver.cxx @@ -11,6 +11,7 @@ #include <iostream> #include <QtCore/QDateTime> +#include <QtCore/QCoreApplication> #include <odb/sqlite/database.hxx> #include <odb/sqlite/transaction.hxx> @@ -29,6 +30,8 @@ test_out_of_range_value (object&, database&); int main (int argc, char* argv[]) { + QCoreApplication app (argc, argv); + try { auto_ptr<database> db (create_database (argc, argv)); |