diff --git a/src/myx-cmake-example-features/main.cpp b/src/myx-cmake-example-features/main.cpp index c303c89..7a1f1ef 100644 --- a/src/myx-cmake-example-features/main.cpp +++ b/src/myx-cmake-example-features/main.cpp @@ -38,7 +38,7 @@ int main( int argc, char** argv ) QString s { QStringLiteral( "100" ) }; auto ir = qStringToInt( s ); - QFile f; + QFile* f = new QFile(); Processor p; QObject::connect( &app, SIGNAL(aboutToQuit()), &p, SLOT(process())); QTimer::singleShot( 100, &app, SLOT(quit()));