QtCreator下一款好漂亮的Text Editor Scheme

<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="Enjoy">
  <style name="Text" foreground="#ffffff" background="#282a36"/>
  <style name="Link" foreground="#0000ff"/>
  <style name="Selection" foreground="#000000" background="#aaaaaa"/>
  <style name="LineNumber" foreground="#b9b8b6" background="#1e1f28"/>
  <style name="SearchResult" foreground="#d57544" bold="true"/>
  <style name="SearchScope" foreground="#000000"/>
  <style name="Parentheses" foreground="#ffffff" bold="true"/>
  <style name="ParenthesesMismatch" foreground="#000000" background="#ff00ff"/>
  <style name="CurrentLine" foreground="#000000" background="#53616f"/>
  <style name="CurrentLineNumber" foreground="#eefa7a"/>
  <style name="Occurrences" foreground="#000000" background="#b4b4b4"/>
  <style name="Occurrences.Unused" foreground="#808000"/>
  <style name="Occurrences.Rename" foreground="#000000" background="#ff6464"/>
  <style name="Number" foreground="#bd93f9"/>
  <style name="String" foreground="#f1fa8c"/>
  <style name="Type" foreground="#7ce4fb"/>
  <style name="Local" foreground="#ffffff"/>
  <style name="Field" foreground="#ffffff"/>
  <style name="Static" foreground="#e5786d"/>
  <style name="VirtualMethod" foreground="#cae982" italic="true"/>
  <style name="Function" foreground="#67f469"/>
  <style name="Keyword" foreground="#e65ab9" bold="true"/>
  <style name="PrimitiveType" foreground="#7ce4fb" italic="true"/>
  <style name="Operator" foreground="#ffffff"/>
  <style name="Preprocessor" foreground="#ff79c6"/>
  <style name="Label" foreground="#e4a94d"/>
  <style name="Comment" foreground="#cd8b00" bold="true"/>
  <style name="Doxygen.Comment" foreground="#9c998e"/>
  <style name="Doxygen.Tag" foreground="#bcb9ac" bold="true"/>
  <style name="VisualWhitespace" foreground="#c0c0c0"/>
  <style name="QmlLocalId" foreground="#000000" italic="true"/>
  <style name="QmlExternalId" foreground="#000080" italic="true"/>
  <style name="QmlTypeId" foreground="#800080"/>
  <style name="QmlRootObjectProperty" foreground="#000000" italic="true"/>
  <style name="QmlScopeObjectProperty" foreground="#000000" italic="true"/>
  <style name="QmlExternalObjectProperty" foreground="#000080" italic="true"/>
  <style name="JsScopeVar" foreground="#2985c7" italic="true"/>
  <style name="JsImportVar" foreground="#0055af" italic="true"/>
  <style name="JsGlobalVar" foreground="#0055af" italic="true"/>
  <style name="QmlStateName" foreground="#000000" italic="true"/>
  <style name="Binding" foreground="#800000"/>
  <style name="DisabledCode" foreground="#545454"/>
  <style name="AddedLine" foreground="#00aa00"/>
  <style name="RemovedLine" foreground="#ff0000"/>
  <style name="DiffFile" foreground="#000080"/>
  <style name="DiffLocation" foreground="#0000ff"/>
  <style name="DiffFileLine" background="#ffff00"/>
  <style name="DiffContextLine" background="#afd7e7"/>
  <style name="DiffSourceLine" background="#ffdfdf"/>
  <style name="DiffSourceChar" background="#ffafaf"/>
  <style name="DiffDestLine" background="#dfffdf"/>
  <style name="DiffDestChar" background="#afffaf"/>
  <style name="LogChangeLine" foreground="#c00000"/>
  <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-scheme>


新建文件将上面的内容拷入,然后把该文件拷入Qt相应的文件夹下即可使用.

以Qt5.10.1为例,该文件夹为:/opt/Qt5.10.1/Tools/QtCreator/share/qtcreator/styles

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
编译qtcreator源码,在make过程中报错(我这里是qtcreator4.4.1,其他版本也会有同样的错误,解决方法相同) g++ -c -pipe -fPIC -fpermissive -finline-functions -Wno-long-long -O2 -std=gnu++1y -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC -DQTCSSH_LIBRARY -D'RELATIVE_PLUGIN_PATH="../lib/qtcreator/plugins"' -D'RELATIVE_LIBEXEC_PATH="../libexec/qtcreator"' -D'RELATIVE_DATA_PATH="../share/qtcreator"' -D'RELATIVE_DOC_PATH="../share/doc/qtcreator"' -DIDE_LIBRARY_BASENAME=\"lib\" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DBOTAN_DLL= -DBOTAN_TARGET_OS_HAS_GETTIMEOFDAY -DBOTAN_HAS_ALLOC_MMAP -DBOTAN_HAS_ENTROPY_SRC_DEV_RANDOM -DBOTAN_HAS_ENTROPY_SRC_EGD -DBOTAN_HAS_ENTROPY_SRC_FTW -DBOTAN_HAS_ENTROPY_SRC_UNIX -DBOTAN_HAS_MUTEX_PTHREAD -DBOTAN_HAS_PIPE_UNIXFD_IO -DBOTAN_TARGET_OS_IS_LINUX -DBOTAN_TARGET_OS_HAS_CLOCK_GETTIME -DBOTAN_TARGET_OS_HAS_DLOPEN -DBOTAN_TARGET_OS_HAS_GMTIME_R -DBOTAN_TARGET_OS_HAS_POSIX_MLOCK -DBOTAN_HAS_DYNAMICALLY_LOADED_ENGINE -DBOTAN_HAS_DYNAMIC_LOADER -DBOTAN_BUILD_COMPILER_IS_GCC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I../../../src -I../../../src -I../../libs -I/opt/qt-creator-opensource-src-4.4.1/tools -I../../plugins -I../3rdparty -I/opt/arm-qt/include -I/opt/arm-qt/include/QtWidgets -I/opt/arm-qt/include/QtGui -I/opt/arm-qt/include/QtNetwork -I/opt/arm-qt/include/QtConcurrent -I/opt/arm-qt/include/QtCore -I.moc/release-shared -I.uic -I/opt/arm-qt/mkspecs/linux-g++ -o .obj/release-shared/botan.o ../3rdparty/botan/botan.cpp ../3rdparty/botan/botan.cpp:46226:21: fatal error: cpuid.h: No such file or directory compilation terminated. Makefile:5559: recipe for target '.obj/release-shared/botan.o' failed make[3]: *** [.obj/release-shared/botan.o] Error 1 make[3]: Leaving directory '/opt/qt-creator-opensource-src-4.4.1/src/libs/ssh' Makefile:314: recipe for target 'sub-ssh-make_fir

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值