diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-13 02:47:34 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-06-13 02:47:34 -0500 |
commit | c6db1b3eb2cb39d3d8ad11cc0817adfd06cb9a99 (patch) | |
tree | 1dbb6bd6396fcd33cad8d7573fc16b072f6bdf06 /src/kernel/qapplication_x11.cpp | |
parent | 6ff026570df6bf0d2988e5e94465fc8d19ef2133 (diff) | |
download | qt3-c6db1b3eb2cb39d3d8ad11cc0817adfd06cb9a99.tar.gz qt3-c6db1b3eb2cb39d3d8ad11cc0817adfd06cb9a99.zip |
Fix Qt input method failure
This resolves Bug 1019
Diffstat (limited to 'src/kernel/qapplication_x11.cpp')
-rw-r--r-- | src/kernel/qapplication_x11.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/kernel/qapplication_x11.cpp b/src/kernel/qapplication_x11.cpp index 30220b4..990f437 100644 --- a/src/kernel/qapplication_x11.cpp +++ b/src/kernel/qapplication_x11.cpp @@ -195,7 +195,7 @@ static const char *appBTNCol = 0; // application btn color static const char *mwGeometry = 0; // main widget geometry static const char *mwTitle = 0; // main widget title //Ming-Che 10/10 -char *qt_ximServer = 0; // XIM Server will connect to +Q_EXPORT char *qt_ximServer = 0; // XIM Server will connect to static bool mwIconic = FALSE; // main widget iconified //Ming-Che 10/10 static Display *appDpy = 0; // X11 application display @@ -428,13 +428,13 @@ static bool qt_x11EventFilter( XEvent* ev ) #if !defined(QT_NO_XIM) //XIM qt_xim = 0; -XIMStyle qt_xim_style = 0; -XIMStyle qt_xim_preferred_style = 0; -static XIMStyle xim_default_style = XIMPreeditCallbacks | XIMStatusNothing; +Q_EXPORT XIMStyle qt_xim_style = 0; +Q_EXPORT XIMStyle qt_xim_preferred_style = 0; +Q_EXPORT static XIMStyle xim_default_style = XIMPreeditCallbacks | XIMStatusNothing; #endif -int qt_ximComposingKeycode=0; -QTextCodec * qt_input_mapper = 0; +Q_EXPORT int qt_ximComposingKeycode=0; +Q_EXPORT QTextCodec * qt_input_mapper = 0; Q_EXPORT Time qt_x_time = CurrentTime; Q_EXPORT Time qt_x_user_time = CurrentTime; |