You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
340 B
25 lines
340 B
|
|
#include <QApplication>
|
|
#include <QWidget>
|
|
|
|
#include <QString>
|
|
|
|
#ifndef QT_CORE_LIB
|
|
# error Expected QT_CORE_LIB
|
|
#endif
|
|
|
|
#ifndef QT_GUI_LIB
|
|
# error Expected QT_GUI_LIB
|
|
#endif
|
|
|
|
int main(int argc, char** argv)
|
|
{
|
|
QApplication app(argc, argv);
|
|
|
|
QWidget w;
|
|
w.setWindowTitle(QString::fromLatin1("SomeTitle"));
|
|
w.show();
|
|
|
|
return 0;
|
|
}
|