Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
5.9.5
-
None
-
Ubuntu 18.04 x86_64
Description
I am trying to compile a project that depends on gamepad. I receive this error for a missing dependency
$ qmake MyProject.pro CONFIG+=x86_64 CONFIG+=qtquickcompiler Project ERROR: Unknown module(s) in QT: gamepad
System Info
$ uname -a
Linux rfriedm-us-dl01 5.4.0-126-generic #142~18.04.1-Ubuntu SMP Thu Sep 1 16:25:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ qmake --version
QMake version 3.1
Using Qt version 5.9.5 in /usr/lib/x86_64-linux-gnu
See if I can install it with aqt: Not listed
$ python3 -m aqt list-qt linux desktop --modules 5.11.1 gcc_64 qtcharts qtdatavis3d qtnetworkauth qtpurchasing qtremoteobjects qtscript qtvirtualkeyboard qtwebengine qtwebglplugin
See if I can install it with apt: Not listed
$ apt-cache search gamepad cen64-qt - Cross-platform graphical frontend for the CEN64 emulator joy2key - Translate joystick movements into equivalent keystrokes liblwjgl-java - Lightweight Java Game Library liblwjgl-java-doc - Lightweight Java Game Library (javadoc) liblwjgl-java-jni - Lightweight Java Game Library (jni) libmanette-0.2-0 - Simple GObject game controller library libmanette-0.2-dev - Simple GObject game controller library - development files mednafen - multi-platform emulator, including NES, GB/A, Lynx, PC Engine pax-britannica - one-button multi-player real-time strategy game pax-britannica-data - data files for pax-britannica game pcsxr - Sony PlayStation emulator pd-hid - Pd object for getting data from USB HID devices qjoypad - Program for mapping gamepad/joystick events to mouse/keyboard event whitedune - graphical VRML97/X3D viewer, editor, 3D modeller and animation tool xboxdrv - Xbox360 gamepad driver for the userspace steam-devices - Device support for Steam-related hardware
See if I can compile gamepad locally and install it on my system:
$ qmake qtgamepad.pro && make ... g++ -c -g -O2 -fdebug-prefix-map=/build/qtbase-opensource-src-HhiYiB/qtbase-opensource-src-5.9.5+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -O2 -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -D_REENTRANT -fPIC -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_GAMEPAD_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_BUILD_GAMEPAD_LIB -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/QtGamepad -I../../include/QtGamepad/6.4.0 -I../../include/QtGamepad/6.4.0/QtGamepad -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.9.5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore/5.9.5/QtCore -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I.moc -isystem /usr/include/libdrm -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o .obj/qgamepadmanager.o qgamepadmanager.cpp In file included from qgamepadmanager.cpp:39:0: qgamepadbackend_p.h:55:10: fatal error: QtCore/private/qglobal_p.h: No such file or directory #include <QtCore/private/qglobal_p.h>
What do I need to do to either
1) Install gamepad for use in my project
OR
2) Install dependencies such that I can compile and install qtgamepad from source?
OR
3) Other suggestion