1 #include <QApplication> 2 #include <QTest> 3 4 #include "logdata_test.h" 5 6 int main(int argc, char** argv) 7 { 8 QApplication app(argc, argv); 9 10 int retval(0); 11 retval +=QTest::qExec(&TestLogData(), argc, argv); 12 13 return (retval ? 1 : 0); 14 15 } 16