pgLab/tests/pglabtests/main.cpp

14 lines
300 B
C++
Raw Normal View History

2026-10-20 18:58:10 +02:00
#include <gtest/gtest.h>
#include <QApplication>
#include <QtGlobal>
int main(int argc, char *argv[])
{
2026-10-20 18:58:10 +02:00
if (!qEnvironmentVariableIsSet("QT_QPA_PLATFORM"))
qputenv("QT_QPA_PLATFORM", "offscreen");
QApplication app(argc, argv);
::testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}