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( );
}
Example #2
0
int main(int argc, char *argv[]){
    QApplication app(argc, argv);

    MainView window;

    window.resize(600, 400);
    window.setWindowTitle("TaskManager");
    window.show();

    return app.exec();
}