/usr/share/monkeystudio/templates/C++/QMake Qt Console/$Main File Name$ is in monkeystudio-common 1.9.0.4-1build3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | #include <QCoreApplication>
int main( int argc, char** argv )
{
// create application
QCoreApplication app( argc, argv );
// init application
app.setApplicationName( "$Project Name$" );
qWarning( "$Project Name$" );
// start application
return app.exec();
}
|