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