Update share.qbs

Also update the script to exclude translations.{pro,qbs}

Change-Id: I0d91218ad83b14a6ed319aac9b8770ebb2db7be8
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
This commit is contained in:
Orgad Shaneh
2012-09-25 16:05:47 +02:00
committed by Joerg Bornemann
parent 369b8db061
commit a3251e2979
2 changed files with 128 additions and 1 deletions

View File

@@ -226,6 +226,7 @@ Product {
"deviceorientation.h", "deviceorientation.h",
"deviceorientation_harmattan.cpp", "deviceorientation_harmattan.cpp",
"deviceorientation_maemo5.cpp", "deviceorientation_maemo5.cpp",
"deviceorientation_symbian.cpp",
"loggerwidget.cpp", "loggerwidget.cpp",
"loggerwidget.h", "loggerwidget.h",
"main.cpp", "main.cpp",
@@ -888,6 +889,36 @@ Product {
] ]
} }
Group {
qbs.installDir: "share/qtcreator/templates/qtquick2app"
fileTags: ["install"]
prefix: "qtcreator/templates/qtquick2app/"
files: [
"app.pro",
"main.cpp",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/qtquick2app/qml/app/qtquick20"
fileTags: ["install"]
prefix: "qtcreator/templates/qtquick2app/qml/app/qtquick20/"
files: [
"main.qml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/qtquick2app/qtquick2applicationviewer"
fileTags: ["install"]
prefix: "qtcreator/templates/qtquick2app/qtquick2applicationviewer/"
files: [
"qtquick2applicationviewer.cpp",
"qtquick2applicationviewer.h",
"qtquick2applicationviewer.pri",
]
}
Group { Group {
qbs.installDir: "share/qtcreator/templates/qtquickapp" qbs.installDir: "share/qtcreator/templates/qtquickapp"
fileTags: ["install"] fileTags: ["install"]
@@ -950,6 +981,102 @@ Product {
] ]
} }
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-bardescriptor"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-bardescriptor/"
files: [
"bar-descriptor.xml",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-guiapp"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-guiapp/"
files: [
"bar-descriptor.xml",
"icon.png",
"main.cpp",
"mainwidget.cpp",
"mainwidget.h",
"mainwidget.ui",
"project.pro",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-qt5-bardescriptor"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-qt5-bardescriptor/"
files: [
"bar-descriptor.xml",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-qt5-guiapp"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-qt5-guiapp/"
files: [
"bar-descriptor.xml",
"icon.png",
"main.cpp",
"mainwidget.cpp",
"mainwidget.h",
"mainwidget.ui",
"project.pro",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-qt5-quick2app"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-qt5-quick2app/"
files: [
"bar-descriptor.xml",
"icon.png",
"main.cpp",
"project.pro",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-qt5-quick2app/qml"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-qt5-quick2app/qml/"
files: [
"main.qml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-quickapp"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-quickapp/"
files: [
"bar-descriptor.xml",
"icon.png",
"main.cpp",
"project.pro",
"wizard.xml",
]
}
Group {
qbs.installDir: "share/qtcreator/templates/wizards/bb-quickapp/qml"
fileTags: ["install"]
prefix: "qtcreator/templates/wizards/bb-quickapp/qml/"
files: [
"main.qml",
]
}
Group { Group {
qbs.installDir: "share/qtcreator/templates/wizards/helloworld" qbs.installDir: "share/qtcreator/templates/wizards/helloworld"
fileTags: ["install"] fileTags: ["install"]
@@ -1074,7 +1201,6 @@ Product {
"extract-customwizards.xq", "extract-customwizards.xq",
"extract-externaltools.xq", "extract-externaltools.xq",
"extract-mimetypes.xq", "extract-mimetypes.xq",
"translations.pro",
] ]
} }

View File

@@ -32,6 +32,7 @@ filenamedict = {}
blacklist = [ blacklist = [
scriptFileName, scriptFileName,
"static.pro", "share.pro", "share.qbs", "static.pro", "share.pro", "share.qbs",
"translations.pro", "translations.qbs",
"qtcreator_cs.ts", "qtcreator_cs.ts",
"qtcreator_de.ts", "qtcreator_de.ts",
"qtcreator_es.ts", "qtcreator_es.ts",