int main( int argc, char** argv ) { QApplication app(argc, argv); MainView mainView; mainView.setResizeMode( QQuickView::SizeRootObjectToView ); mainView.resize( 1124, 650 ); mainView.show( ); return app.exec( ); }
int main(int argc, char *argv[]){ QApplication app(argc, argv); MainView window; window.resize(600, 400); window.setWindowTitle("TaskManager"); window.show(); return app.exec(); }