forked from qt-creator/qt-creator
		
	Getting the #include directives ready for Qt5. This includes the new-project wizards. Change-Id: Ia9261f1e8faec06b9285b694d2b7e9a095978d2b Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
		
			
				
	
	
		
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			559 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#include <QApplication>
 | 
						|
#include "html5applicationviewer.h"
 | 
						|
 | 
						|
int main(int argc, char *argv[])
 | 
						|
{
 | 
						|
    QApplication app(argc, argv);
 | 
						|
 | 
						|
    Html5ApplicationViewer viewer;
 | 
						|
    viewer.setOrientation(Html5ApplicationViewer::ScreenOrientationAuto); // ORIENTATION
 | 
						|
    viewer.showExpanded();
 | 
						|
#if 1 // DELETE_LINE
 | 
						|
    viewer.loadFile(QLatin1String("html/index.html")); // MAINHTMLFILE
 | 
						|
#else // DELETE_LINE
 | 
						|
    viewer.loadUrl(QUrl(QLatin1String("http://dev.sencha.com/deploy/touch/examples/kitchensink/"))); // MAINHTMLURL
 | 
						|
#endif // DELETE_LINE
 | 
						|
 | 
						|
    return app.exec();
 | 
						|
}
 |