summaryrefslogtreecommitdiff
path: root/src/libs/qmleditorwidgets
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2013-07-30 18:00:27 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2013-08-21 17:30:36 +0200
commit0dab64b6cfb6944bd2df0e73d3738da06c4c4028 (patch)
tree90b9a78eb958cf391d5335601bfca25e8ea10145 /src/libs/qmleditorwidgets
parent417b80c5449effcf92154fd55a86b427736e61a1 (diff)
downloadqt-creator-0dab64b6cfb6944bd2df0e73d3738da06c4c4028.tar.gz
Qbs project files: Use groups wherever applicable.
Provides better structuring of source files. Change-Id: Ic2d0094312bb7c8da01a1f38270564407fdbefce Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/libs/qmleditorwidgets')
-rw-r--r--src/libs/qmleditorwidgets/qmleditorwidgets.qbs73
1 files changed, 33 insertions, 40 deletions
diff --git a/src/libs/qmleditorwidgets/qmleditorwidgets.qbs b/src/libs/qmleditorwidgets/qmleditorwidgets.qbs
index d6ae739b31..45502583ef 100644
--- a/src/libs/qmleditorwidgets/qmleditorwidgets.qbs
+++ b/src/libs/qmleditorwidgets/qmleditorwidgets.qbs
@@ -4,7 +4,7 @@ import "../QtcLibrary.qbs" as QtcLibrary
QtcLibrary {
name: "QmlEditorWidgets"
- cpp.includePaths: base.concat("easingpane")
+ cpp.includePaths: base.concat(easingPane.prefix)
cpp.defines: base.concat([
"QWEAKPOINTER_ENABLE_ARROW",
"BUILD_QMLEDITORWIDGETS_LIB"
@@ -15,43 +15,36 @@ QtcLibrary {
Depends { name: "QmlJS" }
Depends { name: "Utils" }
- files: [
- "colorbox.cpp",
- "colorbox.h",
- "colorbutton.cpp",
- "colorbutton.h",
- "colorwidgets.cpp",
- "colorwidgets.h",
- "contextpanetext.ui",
- "contextpanetextwidget.cpp",
- "contextpanetextwidget.h",
- "contextpanewidget.cpp",
- "contextpanewidget.h",
- "contextpanewidgetborderimage.ui",
- "contextpanewidgetimage.cpp",
- "contextpanewidgetimage.h",
- "contextpanewidgetimage.ui",
- "contextpanewidgetrectangle.cpp",
- "contextpanewidgetrectangle.h",
- "contextpanewidgetrectangle.ui",
- "customcolordialog.cpp",
- "customcolordialog.h",
- "filewidget.cpp",
- "filewidget.h",
- "fontsizespinbox.cpp",
- "fontsizespinbox.h",
- "gradientline.cpp",
- "gradientline.h",
- "huecontrol.cpp",
- "huecontrol.h",
- "qmleditorwidgets_global.h",
- "resources.qrc",
- "easingpane/easingcontextpane.cpp",
- "easingpane/easingcontextpane.h",
- "easingpane/easingcontextpane.ui",
- "easingpane/easinggraph.cpp",
- "easingpane/easinggraph.h",
- "easingpane/easingpane.qrc",
- ]
-}
+ Group {
+ name: "General"
+ files: [
+ "colorbox.cpp", "colorbox.h",
+ "colorbutton.cpp", "colorbutton.h",
+ "colorwidgets.cpp", "colorwidgets.h",
+ "contextpanetext.ui",
+ "contextpanetextwidget.cpp", "contextpanetextwidget.h",
+ "contextpanewidget.cpp", "contextpanewidget.h",
+ "contextpanewidgetborderimage.ui",
+ "contextpanewidgetimage.cpp", "contextpanewidgetimage.h", "contextpanewidgetimage.ui",
+ "contextpanewidgetrectangle.cpp", "contextpanewidgetrectangle.h", "contextpanewidgetrectangle.ui",
+ "customcolordialog.cpp", "customcolordialog.h",
+ "filewidget.cpp", "filewidget.h",
+ "fontsizespinbox.cpp", "fontsizespinbox.h",
+ "gradientline.cpp", "gradientline.h",
+ "huecontrol.cpp", "huecontrol.h",
+ "qmleditorwidgets_global.h",
+ "resources.qrc"
+ ]
+ }
+ Group {
+ name: "Easing Pane"
+ id: easingPane
+ prefix: "easingpane/"
+ files: [
+ "easingcontextpane.cpp", "easingcontextpane.h", "easingcontextpane.ui",
+ "easinggraph.cpp", "easinggraph.h",
+ "easingpane.qrc",
+ ]
+ }
+}