Marketing doesn't like the idea of selling a product with a keyboard:
- Requirement 19: The system shall have a Virtual Keyboard for entering text on the screen.
Luckily for us, this is one of the simplest requirements we have to deal with because Qt 5.12 ships with a Virtual Keyboard, licensed both under (L)GPL 3 or commercially, that can be used in a couple of simple steps:
- In BigProject.pro, add another QT component, virtualkeyboard:
QT += virtualkeyboard
- In main.cpp, set a couple of environment variables before creating QApplication to tell Qt to use the Virtual Keyboard:
// virtual keyboard
qputenv("QT_IM_MODULE", QByteArray("qtvirtualkeyboard"));
qputenv("QT_LOGGING_RULES", QByteArray("qt.virtualkeyboard=true"));
Now that you have made those two changes, run BigProject on the Host and see whether the...