https://github.com/Kitware/CMake
Raw File
Tip revision: 4811915367cc23e68e2171b83509b8a382ff1941 authored by Brad King on 08 September 2014, 20:39:08 UTC
CMake 3.0.2
Tip revision: 4811915
main.cpp

#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;
}
back to top