Qt_IM_45 - 8BitsCoding/RobotMentor GitHub Wiki


#include <QtCore/QCoreApplication>

#include <qdebug.h>
#include <qtimer.h>

void test() {
	qInfo() << "Thank you for waiting!";
}

int main(int argc, char *argv[])
{
	QCoreApplication a(argc, argv);

	qInfo() << "Please wait...";

	QTimer::singleShot(3000, &test);

	return a.exec();
}
⚠️ **GitHub.com Fallback** ⚠️