diff --git a/src/inputpanel/QskInputPanel.cpp b/src/inputpanel/QskInputPanel.cpp index 0f01f494..90009d37 100644 --- a/src/inputpanel/QskInputPanel.cpp +++ b/src/inputpanel/QskInputPanel.cpp @@ -346,6 +346,7 @@ void QskInputPanel::updateInputPanel( Qt::InputMethodQueries queries ) setLocale( event.value( Qt::ImPreferredLanguage ).toLocale() ); } +#if QT_VERSION >= QT_VERSION_CHECK(5, 7, 0) if ( queries & Qt::ImInputItemClipRectangle ) { /* @@ -353,6 +354,7 @@ void QskInputPanel::updateInputPanel( Qt::InputMethodQueries queries ) so that it does not hide the item. */ } +#endif } void QskInputPanel::updateLocale( const QLocale& locale )