Standart keyboard on touch screen
-
I'v got some problem when using desktop app on touch screen (Windows 7). Problem is there is no pop-up virtual keyboard when focus reached any input widget (like QLineEdit, QSpinBox and etc).
I'm using Qt 5.8 and simple app with QWidgets.
This is all code i got now#include "mainwindow.h"
#include "ui_mainwindow.h"MainWindow::MainWindow(QWidget *parent) :
QMainWindow(parent),
ui(new Ui::MainWindow) {
ui->setupUi(this);
}MainWindow::~MainWindow() {
delete ui;
}
and i get no pop-up keyboard!
But what i wanna see is smth like this (QFileDialog was called):
Question is : is there any easy way to configure widgets to get such standart keyboard behavior? -
@Annili said in Standart keyboard on touch screen:
I'm using Qt 5.8 and simple app with QWidgets.
With QWidgets there is no "standard way". you can take a look at https://www.kdab.com/qt-input-method-virtual-keyboard/ but if you even start thinking about internationalise it you realise it's just not feasible
See also: https://forum.qt.io/topic/75129/virtual-keyboard-does-not-show-up-in-qwidgets-app-on-rpi-2/8