Test Qt Dependencis
This commit is contained in:
@@ -1,6 +1,16 @@
|
||||
#include <iostream>
|
||||
#include <QApplication>
|
||||
#include <QMessageBox>
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
|
||||
QMessageBox box;
|
||||
box.setWindowTitle("Jenkins Qt Test");
|
||||
box.setText("Hello from Qt + Jenkins!");
|
||||
box.setInformativeText("This app was built on Windows agent.");
|
||||
box.setStandardButtons(QMessageBox::Ok);
|
||||
box.exec();
|
||||
|
||||
int main() {
|
||||
std::cout << "Hello, World!" << std::endl;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user