summaryrefslogtreecommitdiffstats
path: root/README.immodule
blob: 62dd88515756496dac55baf98707d44d9fe13b1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
immodule for Qt


* What is this?

  immodule for Qt is a modular, extensible input method subsystem for
  Qt.

  This project brings functionality similar to the immodule for GTK+
  to the Qt library. The main goal of the project is to extend and
  enhance the input method support in the Qt library, in order to
  provide a modern and powerful multi-language input system. Our short
  term goal is to make Qt (especially Qt/X11) "up-to-date" with other
  X11-based toolkits such as GTK+. We are also focusing on what the
  input method API should be for future Qt versions.

  See our webpage for further information.

  http://immodule-qt.freedesktop.org/


* About this release

  qt-x11-immodule-unified-qt3.3.3-20040910 is a stable release. Since
  it breaks backward compatibility (source and binary) about immodule
  with our previous releases qt-x11-immodule-unified-qt3.3.3-20040819
  and qt-x11-immodule-bc-qt3.3.2-20040623, optional immodule plugins
  must be updated to proper version. See 'Optional immodule plugins'
  section of our download page.

  http://immodule-qt.freedesktop.org/Software/ImmoduleQtDownload

  However, backward compatibility (source and binary) with normal Qt
  3.3.3 is kept in 'Binary Compatible' mode.


* How to install

  After extract the Qt archive, perform following instructions

    cd qt-x11-free-3.3.3
    patch -p0 < qt-x11-immodule-unified-qt3.3.3-20040910.diff
    ./make-symlinks.sh
    ./configure

  Our patch provides following two configure options. Choose 'Binary
  Compatible' for normal use.

  Build Qt with 'Binary Compatible' immodule support (default)

    configure -inputmethod

  Build Qt without binary compatibility, but supports more advanced
  immodule extensions. It cannot be used with ordinary application
  binaries (i.e. the option is for developers)

    configure -inputmethod -inputmethod-ext


* How to use

  - See users manual of each input method plugins

  - Run qtconfig to choose your favorite XIM input style


* Environment variables

  Some environment variables are available for expert users and system
  integrators. The specification is preliminary and may be changed
  without notification. Be careful.

  See following examples to use the variables.


  - set "xim" input method as default

    export QT_IM_MODULE=xim


  - set "simple" composing input method as default

    export QT_IM_MODULE=simple


  - set "xim" input method as default, and disable input method
    selection menu in the context menu

    export QT_IM_SWITCHER=imsw-none
    export QT_IM_MODULE=xim


  - set "xim" input method as default, and enable input method
    selection menu in the context menu (default configuration)

    export QT_IM_SWITCHER=imsw-multi
    export QT_IM_MODULE=xim


  - set "iiimqcf" that has its own input method switching framework as
    default, and disable input method selection menu in the context
    menu. Such configuration is retquired by some system integrators to
    provide unified user interface for global input method switching
    over the desktop

    export QT_IM_SWITCHER=imsw-none
    export QT_IM_MODULE=iiimqcf