diff options
author | Lars Knoll <lars.knoll@qt.io> | 2016-08-26 21:19:12 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-09-15 08:24:10 +0000 |
commit | a668c6a6b605ce516f71b9339df53699e85ad248 (patch) | |
tree | c31efe90350cc21c37035f6b5016edfeafde7e82 /src/printsupport | |
parent | b22471edf9ff666e87b12398460dfd6e761bc24c (diff) |
Convert the old feature system
... to the new qmake based configuration system.
This removes the old qfeatures.txt (distributed over configure.json
files) and qfeatures.h (distributed over qconfig-<module>.h files).
qfeatures.prf is gone without replacement, as attempts to use it would
lead to followup errors anyway.
Change-Id: I1598de19db937082283a905b9592d3849d2199d0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
Diffstat (limited to 'src/printsupport')
-rw-r--r-- | src/printsupport/configure.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/printsupport/configure.json b/src/printsupport/configure.json index 6bf4208e9c..439f2dbdd8 100644 --- a/src/printsupport/configure.json +++ b/src/printsupport/configure.json @@ -26,8 +26,38 @@ "features": { "cups": { "label": "CUPS", + "purpose": "Provides support for the Common Unix Printing System.", + "section": "Painting", "condition": "libs.cups", "output": [ "privateFeature", "feature" ] + }, + "printer": { + "label": "QPrinter", + "purpose": "Provides a printer backend of QPainter.", + "section": "Painting", + "condition": "!config.android && !config.uikit && !config.winrt && features.picture && features.temporaryfile && features.pdf", + "output": [ "publicFeature", "feature" ] + }, + "printpreviewwidget": { + "label": "QPrintPreviewWidget", + "purpose": "Provides a widget for previewing page layouts for printer output.", + "section": "Widgets", + "condition": "features.graphicsview && features.printer && features.mainwindow", + "output": [ "publicFeature", "feature" ] + }, + "printdialog": { + "label": "QPrintDialog", + "purpose": "Provides a dialog widget for specifying printer configuration.", + "section": "Dialogs", + "condition": "features.printer && features.combobox && features.buttongroup && features.spinbox && features.treeview && features.tabwidget", + "output": [ "publicFeature", "feature" ] + }, + "printpreviewdialog": { + "label": "QPrintPreviewDialog", + "purpose": "Provides a dialog for previewing and configuring page layouts for printer output.", + "section": "Dialogs", + "condition": "features.printpreviewwidget && features.printdialog && features.toolbar", + "output": [ "publicFeature", "feature" ] } }, |