diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-09-09 09:50:08 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-09-15 08:23:53 +0000 |
commit | 2d3c73fcfe7a93cb46190e8e82410fe93145dbe0 (patch) | |
tree | 0ef9b0903113bfb945dabc17654e1695872d5605 /src/widgets/configure.json | |
parent | fc098de70a5dda5f45ebe238a43f24f674426f3d (diff) |
Modularize configure.json/.pri
Move the different parts of configure.json/.pri into the libraries where
they belong.
Gui is not yet fully modularized, and contains many things related to
the different QPA plugins.
Done-with: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Change-Id: I6659bb29354ed1f36b95b8c69e7fce58f642053f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/widgets/configure.json')
-rw-r--r-- | src/widgets/configure.json | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/src/widgets/configure.json b/src/widgets/configure.json new file mode 100644 index 0000000000..23ee540c32 --- /dev/null +++ b/src/widgets/configure.json @@ -0,0 +1,97 @@ +{ + "module": "widgets", + "depends": [ + "core-private", + "gui" + ], + "testDir": "../../config.tests", + + "commandline": { + "options": { + "android-style-assets": "boolean", + "gtk": { "type": "boolean", "name": "gtk3" }, + "style-windows": "boolean", + "style-windowsxp": "boolean", + "style-windowsvista": "boolean", + "style-fusion": "boolean", + "style-mac": "boolean", + "style-android": "boolean" + } + }, + + "libraries": { + "gtk3": { + "description": "GTK+", + "sources": [ + { "type": "pkgConfig", "args": "gtk+-3.0" } + ] + } + }, + + "tests": { + "uxtheme": { + "description": "uxtheme.h", + "type": "files", + "files": [ "uxtheme.h" ] + } + }, + + "features": { + "gtk3": { + "description": "GTK+", + "autoDetect": "!config.darwin", + "condition": "features.glib && libs.gtk3", + "output": [ "privateFeature" ] + }, + "style-fusion": { + "description": "Fusion Style", + "output": [ "styles" ] + }, + "style-mac": { + "description": "Mac Style", + "condition": "config.osx", + "output": [ "styles" ] + }, + "style-windows": { + "description": "Windows Style", + "output": [ "styles" ] + }, + "style-windowsxp": { + "description": "Windows XP Style", + "condition": "features.style-windows && config.win32 && !config.winrt && tests.uxtheme", + "output": [ "styles" ] + }, + "style-windowsvista": { + "description": "Windows Vista Style", + "condition": "features.style-windowsxp", + "output": [ "styles" ] + }, + "style-android": { + "description": "Android Style", + "autoDetect": "config.android", + "output": [ "styles" ] + }, + "android-style-assets": { + "description": "Android Style Assets", + "condition": "features.style-android", + "output": [ "privateConfig" ] + } + }, + + "report": [ + ], + + "summary": [ + { + "section": "Qt Widgets", + "entries": [ + "gtk3", + { + "message": "Styles", + "type": "featureList", + "args": "style-fusion style-mac style-windows style-windowsxp style-windowsvista style-android" + } + ] + } + ] +} |