Color Scheme Request : Solarized

875 views
Skip to first unread message

Brian Provan

unread,
Feb 1, 2014, 10:36:30 PM2/1/14
to speed...@googlegroups.com
Hey, I see that you guys added Monokai to this program. (Sublime) It's a nice scheme, but there was a lot more thought put into Solarized. I use it for just about everything. I started to clone your repo to add it myself, but you guys use an older version of Qt with some odd settings, and I couldn't figure out how to build it from source using those settings.

Here is Solarized: http://ethanschoonover.com/solarized

It'd be awesome if you guys added it for the next build! Thanks.

jaskij

unread,
Feb 2, 2014, 3:01:43 PM2/2/14
to speed...@googlegroups.com
+1 to that
Solarized is one of the best themes around, with the amount of research that went into it.


2014-02-02 Brian Provan <bmpr...@gmail.com>:
Hey, I see that you guys added Monokai to this program. (Sublime) It's a nice scheme, but there was a lot more thought put into Solarized. I use it for just about everything. I started to clone your repo to add it myself, but you guys use an older version of Qt with some odd settings, and I couldn't figure out how to build it from source using those settings.

Here is Solarized: http://ethanschoonover.com/solarized

It'd be awesome if you guys added it for the next build! Thanks.

--
You received this message because you are subscribed to the Google Groups "speedcrunch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to speedcrunch...@googlegroups.com.
To post to this group, send email to speed...@googlegroups.com.
Visit this group at http://groups.google.com/group/speedcrunch.
For more options, visit https://groups.google.com/groups/opt_out.



--
Jan Dorniak
tel. 505-955-418
e-mail:jas...@gmail.com

Message has been deleted

Brian Provan

unread,
Feb 2, 2014, 4:05:48 PM2/2/14
to speed...@googlegroups.com
Yes, I'm seriously trying to follow this: http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW for version 4.8 with modifications from this: https://code.google.com/p/speedcrunch/wiki/BuildingWin32Package but after the step that states to run configure.exe it crashes out with an error and does not create a make file. Seems like a relatively simple addition and I'd love to do it myself, but without the library my hands are tied.

I'm fairly OCD about my color schemes, and the programs that I run. SpeedCrunch is amazing. I have had calc.exe pinned for years now while I'm coding or something, but this is so much better. If you guys do add Solarized, could you add the light and dark versions? They are both awesome.

Helder Correia

unread,
Feb 2, 2014, 5:45:51 PM2/2/14
to SpeedCrunch
> If you guys do add Solarized, could you add the light and dark versions?

Hi, Brian (and jaskij). Thanks for the proposal. I'll definitely throw
in Solarized (light and dark), as well as a bunch of other themes,
into the next release. Stay tuned. Please feel free to contribute
yourselves. WRT the Windows build, I'll let Alessandro reply and try
to help you.

Alessandro Portale

unread,
Feb 2, 2014, 6:18:35 PM2/2/14
to speed...@googlegroups.com
Hi Brian,

On Sunday, February 2, 2014 10:05:48 PM UTC+1, Brian Provan wrote:
Yes, I'm seriously trying to follow this: http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW for version 4.8 with modifications from this: https://code.google.com/p/speedcrunch/wiki/BuildingWin32Package but after the step that states to run configure.exe it crashes out with an error and does not create a make file. Seems like a relatively simple addition and I'd love to do it myself, but without the library my hands are tied.

building Qt yourself, and especially as static version with MinGW is quite a complicated task. If you really want to achieve this, I can try helping if you paste the error of configure.exe.

However, in order to add a new color scheme to SpeedCrunch, you do not need to compile Qt yourself. Just get the Qt 4.8 MinGW installer Qt libraries 4.8.5 for Windows (minGW 4.4, 317 MB) and if you like Qt Creator 3.0.0 for Windows (66 MB), and then you should have all you need for hacking SpeedCrunch.
 
Br,
Alessandro

Brian Provan

unread,
Feb 2, 2014, 9:19:14 PM2/2/14
to speed...@googlegroups.com
Aha! Here we go - I got it to compile AND changed something (this looks terrible, I was just testing): http://screencast.com/t/kkOnWcUYhf

I'm going to outline my steps for my record, so I don't forget, and so that anybody that's trying this in the future can do it. You actually need Qt Creator, then the older version of the libraries here: http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-win-opensource-4.8.5-mingw.exe

Now those older libraries will compile, but won't work properly, SpeedCrunch will crash on startup. To not have that happen, you need an older version of MinGW as well: https://docs.google.com/file/d/0B4D8x6CJEmtuczdiQklwMEs4RUU/edit?pli=1

Once you have all of that extracted somewhere, you have to set up a compiler within Qt Creator, and then set up a "Kit" with the compiler and the version of Qt you downloaded. It's fairly self explanatory. I can't figure out how to debug, but since I'm just adding pretty colors, this should work. You should be getting a pull request from me soon with Solarized, and maybe one soon after that that'll let you load arbitrary colors from a file.

Helder Correia

unread,
Feb 3, 2014, 12:34:51 PM2/3/14
to SpeedCrunch
On Sun, Feb 2, 2014 at 6:19 PM, Brian Provan <bmpr...@gmail.com> wrote:
> You should be getting a pull request from me soon with Solarized, and maybe
> one soon after that that'll let you load arbitrary colors from a file.

Let me know if you decide to work on that. I was thinking that it
would be interesting to define some sort of INI format and load it via
QSettings. There should be both a Load and Save menu entries under the
current Color Scheme menu section. Schemes added by the user would be
saved in the application settings under a new section. Finally, I
thought that the available schemes would be displayed in a list dialog
instead of the current long menu, and the user would preview them by
simply selecting an item from the list (then apply or cancel). What do
you think?
Reply all
Reply to author
Forward
0 new messages