Added the import directive to the generated QML files.

This commit is contained in:
Roberto Raggi
2009-07-30 03:15:32 +02:00
parent 2715c03303
commit 124f2e9f5d

View File

@@ -228,6 +228,8 @@ Core::GeneratedFiles QmlNewProjectWizard::generateFiles(const QWizard *w,
QTextStream out(&contents);
out
<< "import Qt 4.6" << endl
<< endl
<< "Rect {" << endl
<< " width: 200" << endl
<< " height: 200" << endl