pgLab/tests/pglabtests/main.cpp
2026-10-20 19:06:18 +02:00

13 lines
300 B
C++

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