Change module name to find to support gamepad in CMakeLists.txt

Authored by develoot on Apr 27 2020, 12:17 PM.

Description

Change module name to find to support gamepad in CMakeLists.txt

This commit removes two kinds of cmake warning messages:

  1. qmlplugindump failed to load QtGamePad
  2. QtGamePad runtime dependency is unmet

You can check where the qmlplugindump tries to load plugins with shell
environment variable QML_IMPORT_TRACE=1.

In my case, the qmlplugindump tries to load plugins from
$HOME/Qt/5.12.8/gcc_64/qml and there is no directory named QtGamePad.

Instead of that, i have QtGamepad direcory. so i changed module name and
version number in CmakeLists.txt and the warning message disappears.

I don't know exact side-effect of this commit but i think it's worth to
leave this commit here as a MR.

Details

Committed
develootMay 1 2020, 3:55 PM
Parents
R1034:06e0dc537b53: NavigationMap: Add visual front, back and rotation for uav
Branches
Unknown
Tags
Unknown