* Qt 1.1 for Linux/Alpha (and KDE)
@ 1997-01-15 22:52 Christian Czezatke
0 siblings, 0 replies; only message in thread
From: Christian Czezatke @ 1997-01-15 22:52 UTC (permalink / raw)
Hi
Just in case anyone is interested in using Qt 1.1 (a neat C++ class
library for the X-Windows system developed by Troll Tech, Norway). -- I've
successfully compiled Qt under Linux/Alpha. However, I had to apply a tiny
patch to get Qt to recognize double clicks. (Can be found at the end of
that email).
However, I've just uploaded a binary distribution to the incoming
directory of "ftp.troll.no". -- Look out for a file named
"qt-1.1-bin-linux-axp.tar.gz" on their FTP server.
If you are unsure what you could use Qt for, just have a look at KDE, the
"Kool Desktop Environment" that is currently under development, but looks
rather promising IMHO. ( http://www.zws.com/kde/ ) KDE has also been the
reason why I've started tinkering around with Qt in the first place.
KDE compiles fine under Linux/Alpha with only a little source code
tweaking and does not crash more often under Linux/Alpha than under
Linux/intel... ;-)
Qt and its sources are freely available for people writing free software
(like under the GPL) BTW.
happy Linuxing! ;-)
Christian
Disclaimer: I'm not related with Troll Tech in any way. ;-)
Here is the diff:
--------------------------------------------------------------------
diff -ur qt-1.1.old/src/kernel/qapp_x11.cpp qt-1.1/src/kernel/qapp_x11.cpp
--- qt-1.1.old/src/kernel/qapp_x11.cpp Tue Jan 14 22:01:10 1997
+++ qt-1.1/src/kernel/qapp_x11.cpp Tue Jan 14 22:03:24 1997
@@ -2015,7 +2015,7 @@
buttonDown = TRUE;
if ( mouseActWindow == event->xbutton.window &&
mouseButtonPressed == button &&
- (int)event->xbutton.time - mouseButtonPressTime < 400 &&
+ (long)event->xbutton.time - (long)mouseButtonPressTime < 400 &&
QABS(event->xbutton.x - mouseXPos) < 5 &&
QABS(event->xbutton.y - mouseYPos) < 5 ) {
type = Event_MouseButtonDblClick;
------------------------------------------------------------------------
--------------------------------------------------------------------
| Christian Czezatke, Student of Computer Science at the Vienna |
| University Of Technology. -- Also hacking around with Linux and |
| ACAD for fun and for profit. |
--------------------------------------------------------------------
Our continuing mission: To seek out knowledge of C, explore
strange Un*x commands, to boldly code where no-one has manpage 4.
- The Linux Programer's Guide
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1997-01-15 22:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-01-15 22:52 Qt 1.1 for Linux/Alpha (and KDE) Christian Czezatke
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox