#include "gmock/gmock.h" #include int main(int argc, char *argv[]) { QApplication a( argc, argv ); ::testing::InitGoogleTest(&argc, argv); int iReturn = RUN_ALL_TESTS(); // qDebug()<<"rcode:"<