forked from qt-creator/qt-creator
Sqlite: Optimize the initialization
https: //www.sqlite.org/compile.html#omit_autoinit Change-Id: Iaa91203be21f01a19235a9401cb4fa412eca8276 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -26,6 +26,8 @@
|
||||
#include "googletest.h"
|
||||
|
||||
#include <sqlitedatabase.h>
|
||||
#include <sqlitelibraryinitializer.h>
|
||||
|
||||
#include <sqliteglobal.h>
|
||||
#include <utils/temporarydirectory.h>
|
||||
|
||||
@@ -52,6 +54,7 @@ public:
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Sqlite::LibraryInitializer::initialize();
|
||||
Sqlite::Database::activateLogging();
|
||||
|
||||
QGuiApplication application(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user