I've implemented a new dark theme for Qt Creator (inspired by this .css file), see attached screenshot.
Find the codereview over on https://codereview.qt-project.org/#/c/93717/
Here's how to compile it:
Qt Creator now requires Qt 5.3.1 (see this commit). If you have Qt >= 5.3.1
, you should be fine.
Otherwise, compile Qt for yourself. I've compiled Qt's 5.4 branch as follows.
On Ubuntu 14.04, install some dependencies
sudo apt-get install flex bison gperf libicu-dev libxslt-dev ruby \
"^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev \
libfreetype6-dev libharfbuzz-dev
sudo apt-get remove appmenu-qt5 appmenu-qt
Then, compile Qt5 from git (see http://qt-project.org/wiki/Building_Qt_5_from_Git)
git clone git://gitorious.org/qt/qt5.git qt5
cd qt5
./init-repository
git checkout 5.4
git submodule update
git submodule foreach git clean -df
./configure -opensource -confirm-license -release \
-nomake examples -system-sqlite -optimized-qmake -system-harfbuzz -v \
--prefix=/nobackup/inst
make -j3
make install
git checkout https://github.com/thorbenk/qt-creator.git
cd qt-creator
git checkout --track origin/creatortheme_dark
/nobackup/inst/bin/qmake qtcreator.pro -r
make -j3
./bin/qtcreator.sh -theme dark
That Qt looks awesome!
However, in the build step of Qtcreator, the first git checkout https://github.com/thorbenk/qt-creator.git gives me the following error:
git checkout https://github.com/thorbenk/qt-creator.git
error: pathspec 'https://github.com/thorbenk/qt-creator.git' did not match any file(s) known to git.
Did I do something wrong in the build of Qt5? I got an error there as well which i could surpass by adding -continue.
The files that are now in my ~/qt5 folder are:
configure qtdeclarative qtsensors
configure.bat qtdoc qtserialport
gnuwin32 qtdocgallery qtsvg
init-repository qtenginio qtsystems
LGPL_EXCEPTION.txt qtfeedback qttools
LICENSE.FDL qtgraphicaleffects qttranslations
LICENSE.GPLv2 qtimageformats qtwayland
LICENSE.LGPLv21 qtlocation qtwebchannel
LICENSE.LGPLv3 qtmacextras qtwebengine
LICENSE.PREVIEW.COMMERCIAL qtmultimedia qtwebkit
Makefile qtpim qtwebkit-examples
qt3d qt.pro qtwebsockets
qtactiveqt qtqa qtwinextras
qtandroidextras qtquick1 qtx11extras
qtbase qtquickcontrols qtxmlpatterns
qtcanvas3d qtrepotools README
qtconnectivity qtscript README.git