
Run the `clang-format.bash` script to update our C and C++ code to a new include order `.clang-format`. Use `clang-format` version 6.0.
24 lines
339 B
C++
24 lines
339 B
C++
|
|
#include <QApplication>
|
|
#include <QString>
|
|
#include <QWidget>
|
|
|
|
#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;
|
|
}
|