Qt For the Console 34
An anonymous reader writes "Girish Ramakrishnan has written a Lighthouse plugin that lets one run Qt applications on the console. Old timers would recall the April Fool's story. Except it's for real this time."
It's more of a neat hack than anything since it doesn't support things like mouse events yet.
Fool me once ... (Score:1)
Fool me once, shame on you.
Fool me twice, shame on me.
Re: (Score:2)
Re: (Score:2)
You've got arrays of independent drives?
Re: (Score:3)
You said it wrong.
Correct version:
"Fool me once, shame on - shame on you. Fool me - you can't get fooled again."
Slashdotted (Score:5, Informative)
http://www.youtube.com/watch?v=ZJyF99uqSbY [youtube.com]
And here's the code:
https://qt.gitorious.org/~girish/qt/caca-lighthouse [gitorious.org]
Re: (Score:2)
April Fools (Score:2)
Clearly this April Fools joke was botched be slashdot's failure to be nearly 10 months behind.
Re: (Score:2)
Actually it is for real. The Light House project is Qt's magnum opus of platform independence. It is how Qt can target Android, iPhone and desktop in one fell swoop. Really, all this needs is a QPainter that maps to colors and ASCII.
I think Qt is the most underrated technology out there. Probably because it is C++, and not many people care to use C++ these days.
Re: (Score:2)
Except, GTK had this for ages already.
Pah, GTK+ did it first. (Score:2)
With Cursed GTK [archive.org]. Archive.org doesn't seem to have the screenshots, so here's a screenshot [whatsup.org.il] found on a random site.
Re: (Score:2)
Actually, here they are:
1 [archive.org], 2 [archive.org], 3 [archive.org], 4 [archive.org], 5 [archive.org], 6 [archive.org]
Re: (Score:2)
Completely different. What you are looking at in TFA is a graphical GUI rendered as text. .ui files.
What you are showing is a re-parsing of the dialogs into ncurses. You could do the same thing in Qt, you'd just need to instantiate your TUI from parsing the XML
And VBDOS did it first.
Re: (Score:1)
True that, the Cursed GTK looks useful, and is what I expected.
Re: (Score:2)
the qt thing in this article(the video) looks like it's just the thing pushed through aalib, which it pretty much seems to be. **The cool thing though is that now Qt renders to QImage in the main ui thread and hands it off to caca. Caca opens a X connection (or similar), converts the image into text, displays a window and handles events in another thread. With some refactoring and thanks to QMetaObject::invokeMethod, the threaded and non-threaded rendering are pretty much the same and can be switched using
Re: (Score:2)
well it is baffling that nokia would buy trolltech, endorse it as the new API for Symbian and then provide no upgrade path to WP7. Porting lighthouse to MS' phone platform would seem a reasonable value-add if Elop's hands weren't tied.
What is Lighthouse? (Score:2)
For those not in the know, which included me a few minutes ago, Lighthouse was apparently a research project aimed to make Qt easier to port to different graphics systems [gitorious.org]. Was, because it has now been integrated with Qt 4.8, according to the page at that link.
Re: (Score:1)
There are languages long gone, and there will likely be "new" languages in the future. Over an infinite period of time, every word in this post will mean shit at some point.
XBox or PS3? (Score:3)
Finally Qt on consoles. Doesn't which one though *scratches head*
Re: (Score:1)