From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <276b90760d78527e2d31601e632f6e3b.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199701152231.OAA28585@fermat.ide.com> Date: Wed, 15 Jan 1997 21:52:37 -0100 (GMT+1) From: Christian Czezatke Subject: Qt 1.1 for Linux/Alpha (and KDE) 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