I’m trying to compile wfview in linux mint 20.3 using qr 5.12
I am using the fullbuildwfview.sh script.
It fails running qmake with this error
$ qmake …/wfview/wfview.pro
Project ERROR: Unknown module(s) in QT: gamepad
however qtgamepad is in the qt src directory …
as I installed qt5.12 from source also …
I suppose it might be due to path naming issues …
I’ve done various searches on the internet looking at the failed module … gamepad
error but have not found any good description that would allow me to get this included.
Qt 5.12 is pretty old (released 2018) if you compiled it from source, I am not sure how much we can help you to be honest as we really only support the official Qt distributions from 5.15 onwards.
However, if you comment-out the line
DEFINES += USB_CONTROLLER
within wfview.pro, this will disable USB controllers/gamepads and should allow wfview to build.
Ran into the same problem running on a raspberry 3B+ rasbian bullseye
old distro thats since moved into “old-stable” status.
New update to vfview bombed ( had not updated wfview in quite some time )
Was able to get compile going by adding missing packages to the base and qt5 suites.
apt-get to install : libqt5gamepad5-dev ( which auto-selected the runtime also )
libhidapi-dev ( which added the library and missing include/hidapi/hidapi.h )
which auto-selected libhidapi-libusb0 also
Compile is running clean as i type this and . . . Yup . . wfview ver 1.65 up and running
Cheers !