Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
defb9881
Commit
defb9881
authored
Oct 04, 2010
by
Thomas Hartmann
Browse files
QmlWizards: use QtQuick 1.0 instead of Qt 4.7
Reviewed-by: Kai Koehne
parent
d5596bf1
Changes
3
Hide whitespace changes
Inline
Side-by-side
share/qtcreator/templates/qmlapp/qml/app/main.qml
View file @
defb9881
import
Qt
4.7
import
Qt
Quick
1.0
Rectangle
{
width
:
200
...
...
src/plugins/qmljseditor/qmlfilewizard.cpp
View file @
defb9881
...
...
@@ -62,7 +62,7 @@ QString QmlFileWizard::fileContents(const QString &fileName) const
QTextStream
str
(
&
contents
);
// str << CppTools::AbstractEditorSupport::licenseTemplate();
str
<<
QLatin1String
(
"import Qt
4.7
\n
"
)
str
<<
QLatin1String
(
"import Qt
Quick 1.0
\n
"
)
<<
QLatin1String
(
"
\n
"
)
<<
QLatin1String
(
"Rectangle {
\n
"
)
<<
QLatin1String
(
" width: 640
\n
"
)
...
...
src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
View file @
defb9881
...
...
@@ -114,7 +114,7 @@ Core::GeneratedFiles QmlProjectApplicationWizard::generateFiles(const QWizard *w
QTextStream
out
(
&
contents
);
out
<<
"import Qt
4.7
"
<<
endl
<<
"import Qt
Quick 1.0
"
<<
endl
<<
endl
<<
"Rectangle {"
<<
endl
<<
" width: 200"
<<
endl
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment