summaryrefslogtreecommitdiffstats
path: root/Tests/Qt4Targets/main.cpp
blob: 07443b0c4dcdc1cb620477f43acc437cbedb1442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#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;
}