panzi / qjoypad

fork of qjoypad http://qjoypad.sourceforge.net/
GNU General Public License v2.0
120 stars 25 forks source link

List required libraries in INSTALL.txt (or README.txt) #33

Open keianrao opened 4 years ago

keianrao commented 4 years ago

Hi developers,

CMake will fail without the development headers for Qt5Widgets, Qt5LinguistTools and Qt5X11Extras. This isn't mentioned yet in the documentation, and they're quite annoying to find in the package managers...

The packages for Debian are: qtbase5-dev qttools5-dev libqt5x11extras5-dev libxtst-dev. I found them by hand, but they can be automatically found like so (on amd64 Debian):

apt-file search /usr/include/x86_64-linux-gnu/qt5/QtWidgets | cut -d: -f1 | uniq;
apt-file search /usr/include/x86_64-linux-gnu/qt5/QtX11Extras | cut -d: -f1 | uniq;
apt-file search /usr/lib/x86_64-linux-gnu/cmake/Qt5LinguistTools | cut -d: -f1 | uniq;

This is one of those cases where there is basically zero correspondence between the library names and required package names.

Also, thank you so much for taking the time to write this port. Everyone was recommending qjoypad, but I was driven crazy by why it never worked with anything on my modern KDE Plasma desktop. The current Github build works right off the bat.

keianrao commented 4 years ago

It doesn't seem to do anything for me yet, but the development headers for udev are in libudev-dev. Installing it allows plain compiling without turning off support for udev.

minger0 commented 3 years ago

my list sudo apt install cmake qt5-default qttools5-dev libqt5x11extras5-dev pkg-config libudev-dev libxtst-dev

nathanielstenzel commented 1 month ago

my list sudo apt install cmake qt5-default qttools5-dev libqt5x11extras5-dev pkg-config libudev-dev libxtst-dev

Thanks. That helped me compile.

nathanielstenzel commented 1 month ago

@minger0 I made a pull request of my own, if you care to check it out. Mine is regarding ZeroOne mode mouse movement.