qtcreator导入配色方案

当换了电脑或者重新安装了qtcreator时,因为已经习惯了之前的配色方案。
所以需要将之前的配色方案给导过来(首先得做好备份,以免丢失)。。。。
qtcreator导入配色方案_第1张图片

此位置下就是当前使用的配色方案。

将此文件直接拷贝到新安装qt的电脑的同一位置,,,

然后在qtcreator中可以自动识别出来,然后勾选即可。。。
qtcreator导入配色方案_第2张图片


我的配置文件,留存。

dark_copy.xml


<style-scheme version="1.0" name="Dark (copy)">
  <style name="Text" foreground="#aaff7f" background="#000000" bold="true"/>
  <style name="Link" foreground="#ff5500" bold="true"/>
  <style name="Selection" foreground="#000000" background="#aaffff" bold="true"/>
  <style name="LineNumber" foreground="#00ff00" background="#232323" bold="true"/>
  <style name="SearchResult" background="#555500"/>
  <style name="SearchScope" background="#222200"/>
  <style name="Parentheses" foreground="#ff5555" background="#333333"/>
  <style name="ParenthesesMismatch" background="#800080"/>
  <style name="AutoComplete" foreground="#a0a0ff" background="#333333"/>
  <style name="CurrentLine" background="#aa6359"/>
  <style name="CurrentLineNumber" foreground="#ff5500" bold="true"/>
  <style name="Occurrences" background="#363636"/>
  <style name="Occurrences.Unused" underlineColor="#808000" underlineStyle="SingleUnderline"/>
  <style name="Occurrences.Rename" foreground="#ffaaaa" background="#553636"/>
  <style name="Number" foreground="#ff5500" bold="true"/>
  <style name="String" foreground="#ffff00" bold="true"/>
  <style name="Type" foreground="#ff5500" bold="true" italic="true"/>
  <style name="Local" foreground="#4ef8d6" bold="true" italic="true"/>
  <style name="Global" foreground="#ff5500" bold="true"/>
  <style name="Field" foreground="#ffaa7f" bold="true"/>
  <style name="Static" foreground="#ffff00" bold="true" italic="true"/>
  <style name="VirtualMethod" foreground="#ffaaff" bold="true" italic="true"/>
  <style name="Function" foreground="#6247ff" bold="true"/>
  <style name="Keyword" foreground="#ff0000" bold="true"/>
  <style name="PrimitiveType" foreground="#ff0000" bold="true"/>
  <style name="Operator" foreground="#00ff00"/>
  <style name="Overloaded Operator" foreground="#55ff00"/>
  <style name="Punctuation" foreground="#aaffff"/>
  <style name="Preprocessor" foreground="#ff007f" bold="true"/>
  <style name="Label" foreground="#ffff55"/>
  <style name="Comment" foreground="#00ff00" bold="true"/>
  <style name="Doxygen.Comment" foreground="#55ffff"/>
  <style name="Doxygen.Tag" foreground="#00a0a0"/>
  <style name="VisualWhitespace" foreground="#c0c0c0"/>
  <style name="QmlLocalId" foreground="#ff007f" bold="true"/>
  <style name="QmlExternalId" foreground="#8888ff" bold="true" italic="true"/>
  <style name="QmlTypeId" foreground="#ffff00" bold="true"/>
  <style name="QmlRootObjectProperty" foreground="#0000ff" bold="true"/>
  <style name="QmlScopeObjectProperty" foreground="#5500ff" bold="true"/>
  <style name="QmlExternalObjectProperty" foreground="#ffff7f" bold="true"/>
  <style name="JsScopeVar" foreground="#8888ff" bold="true" italic="true"/>
  <style name="JsImportVar" foreground="#8888ff" bold="true" italic="true"/>
  <style name="JsGlobalVar" foreground="#8888ff" bold="true" italic="true"/>
  <style name="QmlStateName" foreground="#ff55ff" bold="true"/>
  <style name="Binding" foreground="#ff5555" bold="true"/>
  <style name="DisabledCode" foreground="#777777" background="#222222"/>
  <style name="AddedLine" foreground="#55ffff"/>
  <style name="RemovedLine" foreground="#ff5555"/>
  <style name="DiffFile" foreground="#55ff55"/>
  <style name="DiffLocation" foreground="#ffff55"/>
  <style name="DiffFileLine" foreground="#000000" background="#d7d700"/>
  <style name="DiffContextLine" foreground="#000000" background="#8aaab6"/>
  <style name="DiffSourceLine" background="#8c2d2d"/>
  <style name="DiffSourceChar" foreground="#000000" background="#c34141"/>
  <style name="DiffDestLine" background="#2d8c2d"/>
  <style name="DiffDestChar" foreground="#000000" background="#41c341"/>
  <style name="LogChangeLine" foreground="#808000"/>
  <style name="Warning" underlineColor="#ffbe00" underlineStyle="SingleUnderline"/>
  <style name="WarningContext" underlineColor="#ffbe00" underlineStyle="DotLine"/>
  <style name="Error" underlineColor="#ff0000" underlineStyle="SingleUnderline"/>
  <style name="ErrorContext" underlineColor="#ff0000" underlineStyle="DotLine"/>
  <style name="Declaration" bold="true"/>
  <style name="FunctionDefinition"/>
  <style name="OutputArgument" italic="true"/>
style-scheme>

你可能感兴趣的:(#,QT开发经验,qtcreator)