aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/texteditor/texteditor.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2023-09-14 08:22:23 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2023-09-14 09:58:01 +0000
commitc816a9b523515a7f0f719e669ab54d3cfdb5c414 (patch)
tree20500b70db0814e985a4d9d54d8b63d2760a493a /src/plugins/texteditor/texteditor.qbs
parenta7bbb986dd34ed7242ff60503e0559a9ef28fd0d (diff)
qbs build: Remove unneeded Project items
Also update type descriptions. Change-Id: I2b7d8814913cfb72cb8280601338ab763d8fabe6 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/texteditor/texteditor.qbs')
-rw-r--r--src/plugins/texteditor/texteditor.qbs439
1 files changed, 218 insertions, 221 deletions
diff --git a/src/plugins/texteditor/texteditor.qbs b/src/plugins/texteditor/texteditor.qbs
index 0a424aeaa5..76644a1357 100644
--- a/src/plugins/texteditor/texteditor.qbs
+++ b/src/plugins/texteditor/texteditor.qbs
@@ -1,237 +1,234 @@
-import qbs 1.0
import qbs.FileInfo
import qbs.Environment
-Project {
+QtcPlugin {
name: "TextEditor"
- QtcPlugin {
- Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
- Depends { name: "Aggregation" }
- Depends { name: "Utils" }
+ Depends { name: "Qt"; submodules: ["widgets", "xml", "network", "printsupport"] }
+ Depends { name: "Aggregation" }
+ Depends { name: "Utils" }
+ Depends { name: "KSyntaxHighlighting" }
+
+ Export {
Depends { name: "KSyntaxHighlighting" }
+ }
- Export {
- Depends { name: "KSyntaxHighlighting" }
- }
+ Depends { name: "Core" }
- Depends { name: "Core" }
+ cpp.enableExceptions: true
- cpp.enableExceptions: true
+ files: [
+ "autocompleter.cpp",
+ "autocompleter.h",
+ "basefilefind.cpp",
+ "basefilefind.h",
+ "basehoverhandler.cpp",
+ "basehoverhandler.h",
+ "behaviorsettings.cpp",
+ "behaviorsettings.h",
+ "behaviorsettingspage.cpp",
+ "behaviorsettingspage.h",
+ "behaviorsettingswidget.cpp",
+ "behaviorsettingswidget.h",
+ "blockrange.h",
+ "circularclipboard.cpp",
+ "circularclipboard.h",
+ "circularclipboardassist.cpp",
+ "circularclipboardassist.h",
+ "codecchooser.cpp",
+ "codecchooser.h",
+ "codestyleeditor.cpp",
+ "codestyleeditor.h",
+ "codestylepool.cpp",
+ "codestylepool.h",
+ "codestyleselectorwidget.cpp",
+ "codestyleselectorwidget.h",
+ "colorpreviewhoverhandler.cpp",
+ "colorpreviewhoverhandler.h",
+ "colorscheme.cpp",
+ "colorscheme.h",
+ "colorschemeedit.cpp",
+ "colorschemeedit.h",
+ "command.cpp",
+ "command.h",
+ "commentssettings.cpp",
+ "commentssettings.h",
+ "completionsettings.cpp",
+ "completionsettings.h",
+ "completionsettingspage.cpp",
+ "completionsettingspage.h",
+ "displaysettings.cpp",
+ "displaysettings.h",
+ "displaysettingspage.cpp",
+ "displaysettingspage.h",
+ "extraencodingsettings.cpp",
+ "extraencodingsettings.h",
+ "findincurrentfile.cpp",
+ "findincurrentfile.h",
+ "findinfiles.cpp",
+ "findinfiles.h",
+ "findinopenfiles.cpp",
+ "findinopenfiles.h",
+ "fontsettings.cpp",
+ "fontsettings.h",
+ "fontsettingspage.cpp",
+ "fontsettingspage.h",
+ "formatter.h",
+ "formattexteditor.cpp",
+ "formattexteditor.h",
+ "highlighter.cpp",
+ "highlighter.h",
+ "highlightersettings.cpp",
+ "highlightersettings.h",
+ "highlightersettingspage.cpp",
+ "highlightersettingspage.h",
+ "icodestylepreferences.cpp",
+ "icodestylepreferences.h",
+ "icodestylepreferencesfactory.cpp",
+ "icodestylepreferencesfactory.h",
+ "indenter.h",
+ "ioutlinewidget.h",
+ "jsoneditor.cpp",
+ "jsoneditor.h",
+ "linenumberfilter.cpp",
+ "linenumberfilter.h",
+ "marginsettings.cpp",
+ "marginsettings.h",
+ "markdowneditor.cpp",
+ "markdowneditor.h",
+ "outlinefactory.cpp",
+ "outlinefactory.h",
+ "plaintexteditorfactory.cpp",
+ "plaintexteditorfactory.h",
+ "quickfix.cpp",
+ "quickfix.h",
+ "refactoringchanges.cpp",
+ "refactoringchanges.h",
+ "refactoroverlay.cpp",
+ "refactoroverlay.h",
+ "semantichighlighter.cpp",
+ "semantichighlighter.h",
+ "simplecodestylepreferences.cpp",
+ "simplecodestylepreferences.h",
+ "simplecodestylepreferenceswidget.cpp",
+ "simplecodestylepreferenceswidget.h",
+ "storagesettings.cpp",
+ "storagesettings.h",
+ "syntaxhighlighter.cpp",
+ "syntaxhighlighter.h",
+ "tabsettings.cpp",
+ "tabsettings.h",
+ "tabsettingswidget.cpp",
+ "tabsettingswidget.h",
+ "textdocument.cpp",
+ "textdocument.h",
+ "textdocumentlayout.cpp",
+ "textdocumentlayout.h",
+ "texteditor.cpp",
+ "texteditor.h",
+ "texteditor.qrc",
+ "texteditor_global.h", "texteditortr.h",
+ "texteditor_p.h",
+ "texteditoractionhandler.cpp",
+ "texteditoractionhandler.h",
+ "texteditorconstants.cpp",
+ "texteditorconstants.h",
+ "texteditoroverlay.cpp",
+ "texteditoroverlay.h",
+ "texteditorplugin.cpp",
+ "texteditorplugin.h",
+ "texteditorsettings.cpp",
+ "texteditorsettings.h",
+ "textindenter.cpp",
+ "textindenter.h",
+ "textmark.cpp",
+ "textmark.h",
+ "textstyles.h",
+ "typingsettings.cpp",
+ "typingsettings.h",
+ ]
+ Group {
+ name: "CodeAssist"
+ prefix: "codeassist/"
files: [
- "autocompleter.cpp",
- "autocompleter.h",
- "basefilefind.cpp",
- "basefilefind.h",
- "basehoverhandler.cpp",
- "basehoverhandler.h",
- "behaviorsettings.cpp",
- "behaviorsettings.h",
- "behaviorsettingspage.cpp",
- "behaviorsettingspage.h",
- "behaviorsettingswidget.cpp",
- "behaviorsettingswidget.h",
- "blockrange.h",
- "circularclipboard.cpp",
- "circularclipboard.h",
- "circularclipboardassist.cpp",
- "circularclipboardassist.h",
- "codecchooser.cpp",
- "codecchooser.h",
- "codestyleeditor.cpp",
- "codestyleeditor.h",
- "codestylepool.cpp",
- "codestylepool.h",
- "codestyleselectorwidget.cpp",
- "codestyleselectorwidget.h",
- "colorpreviewhoverhandler.cpp",
- "colorpreviewhoverhandler.h",
- "colorscheme.cpp",
- "colorscheme.h",
- "colorschemeedit.cpp",
- "colorschemeedit.h",
- "command.cpp",
- "command.h",
- "commentssettings.cpp",
- "commentssettings.h",
- "completionsettings.cpp",
- "completionsettings.h",
- "completionsettingspage.cpp",
- "completionsettingspage.h",
- "displaysettings.cpp",
- "displaysettings.h",
- "displaysettingspage.cpp",
- "displaysettingspage.h",
- "extraencodingsettings.cpp",
- "extraencodingsettings.h",
- "findincurrentfile.cpp",
- "findincurrentfile.h",
- "findinfiles.cpp",
- "findinfiles.h",
- "findinopenfiles.cpp",
- "findinopenfiles.h",
- "fontsettings.cpp",
- "fontsettings.h",
- "fontsettingspage.cpp",
- "fontsettingspage.h",
- "formatter.h",
- "formattexteditor.cpp",
- "formattexteditor.h",
- "highlighter.cpp",
- "highlighter.h",
- "highlightersettings.cpp",
- "highlightersettings.h",
- "highlightersettingspage.cpp",
- "highlightersettingspage.h",
- "icodestylepreferences.cpp",
- "icodestylepreferences.h",
- "icodestylepreferencesfactory.cpp",
- "icodestylepreferencesfactory.h",
- "indenter.h",
- "ioutlinewidget.h",
- "jsoneditor.cpp",
- "jsoneditor.h",
- "linenumberfilter.cpp",
- "linenumberfilter.h",
- "marginsettings.cpp",
- "marginsettings.h",
- "markdowneditor.cpp",
- "markdowneditor.h",
- "outlinefactory.cpp",
- "outlinefactory.h",
- "plaintexteditorfactory.cpp",
- "plaintexteditorfactory.h",
- "quickfix.cpp",
- "quickfix.h",
- "refactoringchanges.cpp",
- "refactoringchanges.h",
- "refactoroverlay.cpp",
- "refactoroverlay.h",
- "semantichighlighter.cpp",
- "semantichighlighter.h",
- "simplecodestylepreferences.cpp",
- "simplecodestylepreferences.h",
- "simplecodestylepreferenceswidget.cpp",
- "simplecodestylepreferenceswidget.h",
- "storagesettings.cpp",
- "storagesettings.h",
- "syntaxhighlighter.cpp",
- "syntaxhighlighter.h",
- "tabsettings.cpp",
- "tabsettings.h",
- "tabsettingswidget.cpp",
- "tabsettingswidget.h",
- "textdocument.cpp",
- "textdocument.h",
- "textdocumentlayout.cpp",
- "textdocumentlayout.h",
- "texteditor.cpp",
- "texteditor.h",
- "texteditor.qrc",
- "texteditor_global.h", "texteditortr.h",
- "texteditor_p.h",
- "texteditoractionhandler.cpp",
- "texteditoractionhandler.h",
- "texteditorconstants.cpp",
- "texteditorconstants.h",
- "texteditoroverlay.cpp",
- "texteditoroverlay.h",
- "texteditorplugin.cpp",
- "texteditorplugin.h",
- "texteditorsettings.cpp",
- "texteditorsettings.h",
- "textindenter.cpp",
- "textindenter.h",
- "textmark.cpp",
- "textmark.h",
- "textstyles.h",
- "typingsettings.cpp",
- "typingsettings.h",
+ "assistenums.h",
+ "assistinterface.cpp",
+ "assistinterface.h",
+ "assistproposalitem.cpp",
+ "assistproposalitem.h",
+ "assistproposaliteminterface.h",
+ "asyncprocessor.cpp",
+ "asyncprocessor.h",
+ "codeassistant.cpp",
+ "codeassistant.h",
+ "completionassistprovider.cpp",
+ "completionassistprovider.h",
+ "documentcontentcompletion.cpp",
+ "documentcontentcompletion.h",
+ "functionhintproposal.cpp",
+ "functionhintproposal.h",
+ "functionhintproposalwidget.cpp",
+ "functionhintproposalwidget.h",
+ "genericproposal.cpp",
+ "genericproposal.h",
+ "genericproposalmodel.cpp",
+ "genericproposalmodel.h",
+ "genericproposalwidget.cpp",
+ "genericproposalwidget.h",
+ "iassistprocessor.cpp",
+ "iassistprocessor.h",
+ "iassistproposal.cpp",
+ "iassistproposal.h",
+ "iassistproposalmodel.cpp",
+ "iassistproposalmodel.h",
+ "iassistproposalwidget.cpp",
+ "iassistproposalwidget.h",
+ "iassistprovider.cpp",
+ "iassistprovider.h",
+ "ifunctionhintproposalmodel.cpp",
+ "ifunctionhintproposalmodel.h",
+ "keywordscompletionassist.cpp",
+ "keywordscompletionassist.h",
+ "textdocumentmanipulator.cpp",
+ "textdocumentmanipulator.h",
+ "textdocumentmanipulatorinterface.h",
]
+ }
- Group {
- name: "CodeAssist"
- prefix: "codeassist/"
- files: [
- "assistenums.h",
- "assistinterface.cpp",
- "assistinterface.h",
- "assistproposalitem.cpp",
- "assistproposalitem.h",
- "assistproposaliteminterface.h",
- "asyncprocessor.cpp",
- "asyncprocessor.h",
- "codeassistant.cpp",
- "codeassistant.h",
- "completionassistprovider.cpp",
- "completionassistprovider.h",
- "documentcontentcompletion.cpp",
- "documentcontentcompletion.h",
- "functionhintproposal.cpp",
- "functionhintproposal.h",
- "functionhintproposalwidget.cpp",
- "functionhintproposalwidget.h",
- "genericproposal.cpp",
- "genericproposal.h",
- "genericproposalmodel.cpp",
- "genericproposalmodel.h",
- "genericproposalwidget.cpp",
- "genericproposalwidget.h",
- "iassistprocessor.cpp",
- "iassistprocessor.h",
- "iassistproposal.cpp",
- "iassistproposal.h",
- "iassistproposalmodel.cpp",
- "iassistproposalmodel.h",
- "iassistproposalwidget.cpp",
- "iassistproposalwidget.h",
- "iassistprovider.cpp",
- "iassistprovider.h",
- "ifunctionhintproposalmodel.cpp",
- "ifunctionhintproposalmodel.h",
- "keywordscompletionassist.cpp",
- "keywordscompletionassist.h",
- "textdocumentmanipulator.cpp",
- "textdocumentmanipulator.h",
- "textdocumentmanipulatorinterface.h",
- ]
- }
-
- Group {
- name: "Snippets"
- prefix: "snippets/"
- files: [
- "reuse.h",
- "snippet.cpp",
- "snippet.h",
- "snippetassistcollector.cpp",
- "snippetassistcollector.h",
- "snippeteditor.cpp",
- "snippeteditor.h",
- "snippetoverlay.cpp",
- "snippetoverlay.h",
- "snippetparser.cpp",
- "snippetparser.h",
- "snippetprovider.cpp",
- "snippetprovider.h",
- "snippetscollection.cpp",
- "snippetscollection.h",
- "snippetssettings.cpp",
- "snippetssettings.h",
- "snippetssettingspage.cpp",
- "snippetssettingspage.h",
- ]
- }
+ Group {
+ name: "Snippets"
+ prefix: "snippets/"
+ files: [
+ "reuse.h",
+ "snippet.cpp",
+ "snippet.h",
+ "snippetassistcollector.cpp",
+ "snippetassistcollector.h",
+ "snippeteditor.cpp",
+ "snippeteditor.h",
+ "snippetoverlay.cpp",
+ "snippetoverlay.h",
+ "snippetparser.cpp",
+ "snippetparser.h",
+ "snippetprovider.cpp",
+ "snippetprovider.h",
+ "snippetscollection.cpp",
+ "snippetscollection.h",
+ "snippetssettings.cpp",
+ "snippetssettings.h",
+ "snippetssettingspage.cpp",
+ "snippetssettingspage.h",
+ ]
+ }
- QtcTestFiles {
- files: [
- "codeassist/codeassist_test.cpp",
- "codeassist/codeassist_test.h",
- "highlighter_test.cpp",
- "highlighter_test.h",
- "texteditor_test.cpp",
- ]
- }
+ QtcTestFiles {
+ files: [
+ "codeassist/codeassist_test.cpp",
+ "codeassist/codeassist_test.h",
+ "highlighter_test.cpp",
+ "highlighter_test.h",
+ "texteditor_test.cpp",
+ ]
}
}