summaryrefslogtreecommitdiff
path: root/Tests/Qt4Targets/main.cpp
blob: 3c98c99f66fea419004d79820de8bbe2c9162bfd (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;
}