forked from qt-creator/qt-creator
Clang: Use Utils::TemporaryDirectory
Task-number: QTCREATORBUG-17401 Change-Id: Ibf6007455ec92b1d9fcac17e1f3b5e2af21b7438 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
|
||||
#include <sqliteglobal.h>
|
||||
|
||||
#include <utils/temporarydirectory.h>
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QLoggingCategory>
|
||||
|
||||
@@ -37,6 +39,8 @@
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Utils::TemporaryDirectory::setMasterTemporaryDirectory(QDir::tempPath()
|
||||
+"/QtCreator-UnitTests-XXXXXX");
|
||||
Sqlite::registerTypes();
|
||||
|
||||
QCoreApplication application(argc, argv);
|
||||
|
||||
Reference in New Issue
Block a user