Friday, August 14, 2009

Qt Development Frameworks

3 days ago, Nokia announced they had changed Qt project name like below:
BeforeAfter
Qt Software->Qt Development Frameworks

Not only that, they are on changing project's web address. For example, top page goes like below:
BeforeAfter
http://www.qtsoftware.com/->http://qt.nokia.com/

And, documentation page goes:
BeforeAfter
http://doc.qtsoftware.com/->http://qt.nokia.com/doc/

So I had to fix documentation URI on my past entries. Now, I fixed all.

Tuesday, August 11, 2009

ruby-debug for Ruby 1.9

Ruby develop team had wanted a person who knows both Ruby 1.9 and ruby-debug very well to work ruby-debug on Ruby 1.9, as I wrote in phosphorescence: The 2nd day of RubyKaigi 2009 (Morning). Of course, Ruby 1.9 users too. When I read InfoQ's this article this morning, I knew that Ruby 1.9 ruby-debug project had launched. See below URL.

http://github.com/mark-moseley/ruby-debug/tree/master

Saturday, August 8, 2009

We (GUI Ruby user) still need CRuby

2 weeks ago, Charles Nutter(JRuby Core Developer) said JRuby's importance in his blog. I have 2 opinions (i.e. agree/disagree) for this entry.

Thursday, August 6, 2009

Ruby MinGW one-click installer (developing)

I found One-Click Ruby Installer for Windows MinGW edition a few days ago. This project is still developing now.

Qt SDK for Windows is built with MinGW. So I think it's advantageous building QtRuby on Windows using MinGW.

Monday, August 3, 2009

DigiFlip

I add some sample programs to my graphics-dojo clone repository. 'DigiFlip' sample(the one of added programs this time) is not simple-rewritable one from Qt to QtRuby. There are some points hard to implement. I will now list these.

point 1: Qt::Painter#setBrush
point 2: Qt::Pixmap#fill
  • It's similar with above point. A type of Qt::transparent is Qt::GlobalColor, but argument type of Qt::Pixmap#fill is Qt::Color. So Qt::GlobalColor object have to be wrapped with Qt::Color class.

point 3: Enum
  • This sample program manages 3 switching mode with enums: Slide, Flip, and Rotate. These are constants and declared as Qt::Enum instance. See also phosphorescence: Qt::Enum.

point 4: Qt::Painter#begin
  • If point 1~3 solved, some warning still occur.
    QPaintEngine::setSystemRect: Should not be changed while engine is active
    This message tells "Forgetting the method call Qt::Painter#begin". So I add this call with checking whether Qt::Painter is active.
        p = Qt::Painter.new(self)
        p.begin(@pixmap) unless p.active?

After implement correctly, let's run it.

'DigiFlip' is here, and others are found from repository top.