diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json index ac4141dfcc5..72cfd75423a 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/empty/wizard.json @@ -81,6 +81,10 @@ "target": "%{SrcFileName}", "openInEditor": true }, + { + "source": "../requirements.txt", + "target": "requirements.txt" + }, { "source": "../../git.ignore", "target": ".gitignore", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json index b20193fac38..5197b5e598c 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/mainwindow/wizard.json @@ -125,6 +125,10 @@ "target": "%{MainPyFileName}", "openInEditor": true }, + { + "source": "../requirements.txt", + "target": "requirements.txt" + }, { "source": "../../git.ignore", "target": ".gitignore", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json index 4650fe1afb5..a0f8d592001 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/qtquickapplication/wizard.json @@ -120,6 +120,10 @@ "target": "%{QmlFileName}", "openInEditor": true }, + { + "source": "../requirements.txt", + "target": "requirements.txt" + }, { "source": "../../git.ignore", "target": ".gitignore", diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/requirements.txt b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/requirements.txt new file mode 100644 index 00000000000..1e767f8f41a --- /dev/null +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/requirements.txt @@ -0,0 +1 @@ +%{PySideVersion} diff --git a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json index 15cf5db0f81..c52c05c12cb 100644 --- a/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json +++ b/share/qtcreator/templates/wizards/projects/qtforpythonapplication/widget/wizard.json @@ -129,6 +129,10 @@ "source": "../main_widget.ui", "target": "form.ui" }, + { + "source": "../requirements.txt", + "target": "requirements.txt" + }, { "source": "../../git.ignore", "target": ".gitignore",