change qtcreator3.6.0 backbround color on ubuntu 14.04

62 篇文章 0 订阅
42 篇文章 0 订阅

most of steps have been listed on: https://github.com/mervick/Qt-Creator-Darcula


1. download the theme file from the website

2. there are 2 files and 1 folder we need, namely, darcula.css, darcula.xml and images

3.  put darculal.xml and folder images under  /opt/qtcreator-3.6.0/share/qtcreator/styles

4. create a new folder named stylesheet under  /opt/qtcreator-3.6.0/share/qtcreator/ and then put the darcula.css into this stylesheet folder.

5. set the startup parameter

open /usr/share/applications/Qt-Creator.desktop in gedit and change its contents to:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Name=QtCreator
Comment=QtCreator
NoDsiplay=true
Exec=/opt/qtcreator-3.6.0/bin/qtcreator %f -stylesheet=/opt/qtcreator-3.6.0/share/qtcreator/stylesheet/darcula.css
Icon=/opt/Qt5.5.1/Examples/Qt-5.5/location/mapviewer/resources/icon.png
Name[en_US]=Qt-Creator

if you don't have this file, create one by yourself. how to create? pls refer to http://blog.csdn.net/seamanj/article/details/50595966

6. open qtcreator 3.6.0, tool->options->test editor->environment->text editor->color scheme

choose the one we just added



done!

the final effect looks like:



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值