# NumKeyBoard `Libs/NumKeyBoard` is the shared numeric keyboard library used by both `TGcs` and `LauncherLib`. ## qmake Build the library from `TGcsProject.pro` or `Libs/NumKeyBoard/NumKeyBoard.pro`, then link it from consumer projects: ```qmake unix|win32: LIBS += -L$$PWD/Build/Libs/ -lNumKeyBoard INCLUDEPATH += $$PWD/Libs/NumKeyBoard DEPENDPATH += $$PWD/Libs/NumKeyBoard ``` ## API Use the shared singleton-style keyboard API: ```cpp auto *keyboard = KeyBoard::app(); if(!keyboard) { keyboard = new NumKeyDia; } keyboard->setValue(lineEdit->text()); keyboard->exec(); lineEdit->setText(keyboard->getValue()); ``` The old `setPLineEdit` / range-validation API is no longer part of the shared library.