Board index » kylix » Time for a revival
|
theo
kylix Developer |
Time for a revival2006-02-18 12:03:57 PM kylix0 Ok here's little resume how K3 (Delphi) works PERFECTLY under SuSE 10. The following instructions are for a user installation (not root) In your "startdelphi" script, add the following lines: export LD_ASSUME_KERNEL=2.4.21 export LANG=de_CH //in my case, just remove the UTF8-part for your language. export LD_PRELOAD=/home/theo/kylix3/bin/ptrace_interposer.so //adjust path for your situation and download this file currently from b.p.d.attachments for my keyboard, I had to add the line: xmodmap /home/theo/kylix3/KylXmodmap where KylXmodmap looks like (in my case:) !! Kylix Keyboard Patch for Swiss German Keyboard clear mod5 keycode 10 = 1 plus bar exclamdown bar exclamdown keycode 11 = 2 quotedbl at oneeighth at oneeighth keycode 12 = 3 asterisk numbersign sterling numbersign sterling keycode 15 = 6 ampersand notsign fiveeighths notsign fiveeighths keycode 16 = 7 slash brokenbar seveneighths brokenbar seveneighths keycode 17 = 8 parenleft cent trademark cent trademark keycode 20 = apostrophe question dead_acute questiondown dead_acute questiondown keycode 21 = dead_circumflex dead_grave asciitilde dead_ogonek dead_tilde dead_ogonek keycode 26 = e E EuroSign NoSymbol EuroSign keycode 48 = adiaeresis agrave braceleft dead_caron braceleft dead_caron keycode 34 = udiaeresis egrave bracketleft dead_abovering bracketleft dead_abovering keycode 35 = dead_diaeresis exclam bracketright dead_macron bracketright dead_macron keycode 51 = dollar sterling braceright dead_breve braceright dead_breve keycode 94 = less greater backslash brokenbar backslash brokenbar keycode 113 = Mode_switch add mod5 = Mode_switch This is ONLY for a Swiss German Keyboard, but it shows how to do it for other Keyboards. Note that this does not work for German keyboards. If you have KDE, disable that focus stealing thingie ->in German: Kontrollzentrum ->Fentstereingenschaften ->Vorbeugung gegen unerwünschte Aktivierung ->Keine To have nice fonts change in ~/.borland/.borlandrc [Tweak.Layout] WineLook=KDE eventiallly delete ~.kderc After this, and applying the patches from andy.jgknet.de/oss/kylix/wiki/index.php/Main_Page Kylix works like a charm on SUsE 10 KDE This does not hold for the c++ part, where the linker still sucks. And completey off topic here, but more good news: since the latest version of FPC www.freepascal.org, my good old www.theo.ch/kylix/Qt3pas compiles with FPC too (e.g. Free Pascal Compiler version 2.0.3 [2006/02/10] for i386, not the one that ships with the latest Lazarus). btw. LibQtc is still part of the SuSE 10 distribution. As another proof of concept I've written my own simple POP3Checker with my Qt3pas in one night. It looks like this on SuSE 10: www.theo.ch/kylix/popdemo.png This one compileds with Kylix AND FPC. You may laugh at it, but you have to admit, that it: looks better and more system conform than anything written in Kylix CLX (Qt from the last century ;-) or Lazarus LCL. And it feels way less sluggish, than GTK2 on Lazarus, or Mono. And there's another thought I'd like to add to it: Delphi (Object Pascal) and plain QT is a wonderful combination. I almost didn't miss the VCL. And to say it again: The ease of Object Pascal (Delphi) combined with the clean concept of QT would be a promising combination for me for serious development, Unfortunately, there's no such commercial thing in sight. Kylix, Delphi and QT go! Together? |
