Skip to content

Commit b0e1245

Browse files
committed
Fixing that the tests use the QApplication instead of the QCoreApplication
1 parent 136da6f commit b0e1245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sources/test_main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222

2323

24-
#include <QApplication>
24+
#include <QCoreApplication>
2525

2626
#include <gtest/gtest.h>
2727

@@ -30,7 +30,7 @@
3030
int main(int argc, char *argv[])
3131
{
3232
// This is needs to be instantiated to be able to use Qt methods in the tests
33-
QApplication qApplication(argc, argv);
33+
QCoreApplication qApplication(argc, argv);
3434

3535
// Running all the unit tests
3636
::testing::InitGoogleTest(&argc, argv);

0 commit comments

Comments
 (0)