This time I’ll just tell you about my project setup. You already know which books I read, but what other tools do I use to reach my goal?
First, however, I want to give attention to the following blog posts:
- thinkMoult - The Road to KDE Devland (Moult Edition) #0
- veracity – The Road to KDE and Qt Development
It’s nice to hear about other people who walk towards the same goal, but not necessary the same road. Looking forward to hearing more from them, and I also hope to see more “The Road to …” series emerging.
Where do you hack?
To start off, here’s my temporary working environment:
Yes, that’s a Microsoft mouse. I don’t consider a mouse important enough to bring my own, so I just use an unused one I found lying around.
The netbook is a Samsung NC10, which I’m very happy with. I can’t get compositing to work when using the external monitor, but I guess that’s a limitation in the hardware. Otherwise most things work out of box with Arch Linux, the distro of my choice.
As you can see, Tux is currently on vacation. I’ve borrow Micaiah from my little brother as a temporary hacker mascot.
Let’s take a closer look at my screenshot:
In my experience, IDEs are more troublesome than helpful when it comes to small projects. In an introduction to C++ course in high school, the teacher recommended us to use CodeWarrior (we were writing applications like “Hello World”). What a mess. Most problems my classmates had seemed to be IDE-related rather than related to code. I used a trial version of TextMate and compiled from the command line instead. When the trial was over, I switched to gVim (and made a friend who was tired of CodeWarrior switch too).
As you can see, I now use Vim as my text editor. I’ve used Vi/Vim for a pretty long time (
a; <navigate around with arrow keys and enter text>;
:wq), but I haven’t really learned how to use Vim until now. If you want to start with Vim, I highly recommend
vimtutor (enter it in the command line).
I’m still far from a Vim master, but I find it very nice to work with. Here are some scripts that make my life easier:
- SuperTab – allows you to use the tab key to do all your insert completion
- EnhancedCommentify – switch lines between commented and uncommented
- FSwitch – switch between source and header file
- snipMate – TextMate-style snippets for Vim
To fix syntax highlighting for Qt, I followed this blogpost.
The other application you see in the screenshot is Qt Assistant – a very helpful assistant, indeed.
Despite everything I’ve said about IDEs, I recommend you to check out Qt Creator if you like these kind of tools. Personally I think I’ll stick to Vim for a long time, and maybe try to get Vide working again. Someday.
As seen in the screenshot, I’ve started with some Qt by now (after about 3 weeks of C++). I’ll write more about it in the next step. Now it’s time to go to my other hacker place – bed. I’ve only dreamed about code a few times, but those dreams were quite pleasant; it felt like I finally understood some things.