https://github.com/Kitware/CMake
Raw File
Tip revision: 02edf08be2b9476f442b702c6c00447912425cc2 authored by Brad King on 15 February 2018, 13:42:07 UTC
Merge branch 'export-android-mk' into release-3.11
Tip revision: 02edf08
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