We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fa2220 commit 43a9c1cCopy full SHA for 43a9c1c
test/common.h
@@ -1,6 +1,6 @@
1
#pragma once
2
3
-#include <QCoreApplication>
+#include <QGuiApplication>
4
#include <gtest/gtest.h>
5
#include <filesystem>
6
#include <fstream>
@@ -20,7 +20,7 @@ std::string readFileStr(const std::string &fileName)
20
21
int main(int argc, char **argv)
22
{
23
- QCoreApplication a(argc, argv);
+ QGuiApplication a(argc, argv);
24
std::filesystem::current_path(DATA_DIR);
25
::testing::InitGoogleTest(&argc, argv);
26
return RUN_ALL_TESTS();
0 commit comments