/usr/share/monkeystudio/templates/PHP/PHP-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 16 | <?php
// loads phpqt module if needed
if ( !extension_loaded( 'php_qt' ) ) {
dl( 'php_qt.' . PHP_SHLIB_SUFFIX );
}
// create application
$app = new QCoreApplication( $argc, $argv );
$app->setApplicationName( "$Project Name$" );
// create test widget
qWarning( "This is your PHP-Qt Console Application: $Project Name$" );
// execute application
//$app->exec(); // uncomment me if needed
?>
|