Cmake: accessing qtvirtual keyboard module
问题 Can anyone do a simple example of including qtvirtualkeyboard module into a cmake file? I want to access the classes but I cannot figure out how to include it. 回答1: This example should work. It was compiled using CMake 3.1.1 and Qt 5.11.1 The code is available in my GitHub account. The QML example is based on the example provided by Qt. Main CMakeLists.txt cmake_minimum_required(VERSION 3.1) # 3rd party tools find_package(Qt5 COMPONENTS Widgets Qml Quick REQUIRED) # Directory with the source