forked from qt-creator/qt-creator
		
	Conflicts: src/plugins/genericprojectmanager/genericproject.cpp Change-Id: Ib54f1645ec70a9e6460a888a13190ede130bccca
		
			
				
	
	
		
			20 lines
		
	
	
		
			443 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			443 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #include <QGuiApplication>
 | |
| #include <QQmlApplicationEngine>
 | |
| #include <QQuickView>
 | |
| 
 | |
| int main(int argc, char *argv[])
 | |
| {
 | |
|     QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
 | |
| 
 | |
|     QGuiApplication app(argc, argv);
 | |
| 
 | |
|     QQuickView view;
 | |
|     view.engine()->addImportPath("qrc:/qml/imports");
 | |
|     view.setSource(QUrl("qrc:/qml/ProgressBar.ui.qml"));
 | |
|     if (!view.errors().isEmpty())
 | |
|         return -1;
 | |
|     view.show();
 | |
| 
 | |
|     app.exec();
 | |
| }
 |