I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Beginner]
-
how can i Use VirtualKeyboard?
.cpp
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
.pro
static {
QT += svg
QTPLUGIN += qtvirtualkeyboardplugin
}disable-xcb {
message("The disable-xcb option has been deprecated. Please use disable-desktop instead.")
CONFIG += disable-desktop
}
CONFIG += link_pkgconfigbut i Can't Showing Virtual Keyboard.. to Clicked editer
In Windows Case(QWidget Based) using well..
but Can't use Raspberry PI3(B)help plz :(
-
how can i Use VirtualKeyboard?
.cpp
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
.pro
static {
QT += svg
QTPLUGIN += qtvirtualkeyboardplugin
}disable-xcb {
message("The disable-xcb option has been deprecated. Please use disable-desktop instead.")
CONFIG += disable-desktop
}
CONFIG += link_pkgconfigbut i Can't Showing Virtual Keyboard.. to Clicked editer
In Windows Case(QWidget Based) using well..
but Can't use Raspberry PI3(B)help plz :(
@dont-do-that said in I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Begginer]:
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
where did you put this exactly? Before the creation of your QApplication instance?
what Qt version.
what WindowManager/Desktop is running on your pi?
Did you create a InputPanel element in your QML app? -
@dont-do-that said in I Can't Use Raspberry pi at Based On QVirtualKeyboard [English Begginer]:
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard")); //append this
where did you put this exactly? Before the creation of your QApplication instance?
what Qt version.
what WindowManager/Desktop is running on your pi?
Did you create a InputPanel element in your QML app?int main(int argc, char *argv[])
{
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
QApplication a(argc, argv);
MainWindow w;
w.show();return a.exec();
}