diff --git a/example/gdpbarchart/widget.cpp b/example/gdpbarchart/widget.cpp index 9031739..5f96dc6 100644 --- a/example/gdpbarchart/widget.cpp +++ b/example/gdpbarchart/widget.cpp @@ -54,7 +54,7 @@ Widget::Widget(QWidget *parent) // connect to the database db = QSqlDatabase::addDatabase("QSQLITE"); - db.setDatabaseName("gdpData"); + db.setDatabaseName("../examle/gdpbarchart/gdpData"); if(!db.open()) { qDebug() << "could not open database. SQLite db file missing (?)";