forked from qt-creator/qt-creator
Adding support for CMake as well as QMake Task-number: QTCREATORBUG-17308 Change-Id: I615b58921918ec87f935e0f11d3dd23ec20f0ac1 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
13 lines
258 B
C++
13 lines
258 B
C++
%{Cpp:LicenseTemplate}\
|
|
#include "%{HdrFileName}"
|
|
|
|
%{JS: QtSupport.qtIncludes([ 'QtGui/QApplication' ], [ 'QtWidgets/QApplication' ]) }\
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
%{Class} w;
|
|
w.show();
|
|
return a.exec();
|
|
}
|