InputRedirectionClient-Qt icon indicating copy to clipboard operation
InputRedirectionClient-Qt copied to clipboard

Build Instructions/Linux Version?

Open adueppen opened this issue 7 years ago • 15 comments

Unfortunately there aren't any prebuilt Linux versions of this that I could find, and I couldn't get it to compile with qmake (Project ERROR: Unknown module(s) in QT: gamepad, even though I had libqt5gamepad5 installed) since I'm not too familiar with Qt. Would it be possible to provide Linux builds of this, or at least instructions on how to properly compile it?

adueppen avatar Oct 09 '18 00:10 adueppen

I have the same issue. Shame no answer has surfaced yet...

ParzivalWolfram avatar Jun 29 '19 21:06 ParzivalWolfram

Did you install libqt5gamepad5 or libqt5gamepad5-dev? (The first one contains what is necessary for runtime, where as the second one contains headers and other stuff necessary or useful for compiling)

oreo639 avatar Jul 15 '19 01:07 oreo639

There's no indication to do so anywhere nor is Qt easy to get a handle on quickly from only an error message. (Plus i'm used to languages having their own package manager so that's what I went hunting for)

EDIT: Additionally, OP states outright he does... idk if I do or not, i'll check when I can.

On Sun, Jul 14, 2019 at 8:28 PM Oreo639 [email protected] wrote:

Did you install libqt5gamepad5 or libqt5gamepad5-dev?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TuxSH/InputRedirectionClient-Qt/issues/35?email_source=notifications&email_token=AHE6CQOSY2FD55G4FHVMJYLP7PHFRA5CNFSM4FZXPX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ4RRSA#issuecomment-511252680, or mute the thread https://github.com/notifications/unsubscribe-auth/AHE6CQLBDMKKBP3ADAUQIMTP7PHFRANCNFSM4FZXPX4Q .

ParzivalWolfram avatar Jul 15 '19 09:07 ParzivalWolfram

I installed it just fine on Arch Linux using sudo pacman -S qt5-gamepad; qmake InputRedirectionClient-Qt.pro; make

ioistired avatar Sep 06 '19 02:09 ioistired

try literally any other distro? Yes, Arch may work, but after how many hours of config, and how much prior knowledge? This was literally my first Qt-related error, so...

(also LM repos suck major dick, package was old AND busted.)

On Thursday, September 5, 2019, Ben Mintz [email protected] wrote:

I installed it just fine on Arch Linux using sudo pacman -S qt5-gamepad; qmake InputRedirectionClient-Qt.pro; make

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TuxSH/InputRedirectionClient-Qt/issues/35?email_source=notifications&email_token=AHE6CQPCV5H4AMQAB662G6LQIG5UVA5CNFSM4FZXPX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6BQS5I#issuecomment-528681333, or mute the thread https://github.com/notifications/unsubscribe-auth/AHE6CQIMGUXYIV7YQVHAV4LQIG5UVANCNFSM4FZXPX4Q .

ParzivalWolfram avatar Sep 06 '19 04:09 ParzivalWolfram

0 hours of config and a quick search on how to compile qt packages. I already had the qt build tools installed. Apparently qt5-base includes that.

ioistired avatar Sep 06 '19 04:09 ioistired

Can't say the same, sadly...

On Thursday, September 5, 2019, Ben Mintz [email protected] wrote:

0 hours of config. I already had the qt build tools installed. Apparently qt5-base includes that.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/TuxSH/InputRedirectionClient-Qt/issues/35?email_source=notifications&email_token=AHE6CQI76PY2VSHPCPHXGKTQIHNRLA5CNFSM4FZXPX42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6BWQVI#issuecomment-528705621, or mute the thread https://github.com/notifications/unsubscribe-auth/AHE6CQOOW2FI2OP363BYXBLQIHNRLANCNFSM4FZXPX4Q .

ParzivalWolfram avatar Sep 06 '19 04:09 ParzivalWolfram

:(

ioistired avatar Sep 06 '19 05:09 ioistired

in case it's helpful I just made an AUR package: https://aur.archlinux.org/packages/input-redirection-client-qt-git/

only took an hour of config and one prior AUR package of experience for the record :wink:

DuBistKomisch avatar Oct 29 '19 13:10 DuBistKomisch

@DuBistKomisch I would use this if you made a stable version.

ioistired avatar Oct 29 '19 15:10 ioistired

I can do that pretty easily, but is this tool unstable? only a few commits extra on master and hasn't been changed in years

DuBistKomisch avatar Oct 29 '19 23:10 DuBistKomisch

here you go https://aur.archlinux.org/packages/input-redirection-client-qt/

DuBistKomisch avatar Oct 29 '19 23:10 DuBistKomisch

(I tried this out in a container so I think this should work on a freshly installed system)

On fedora it's just:

dnf install qt5-qtgamepad-devel git
git clone https://github.com/TuxSH/InputRedirectionClient-Qt
cd InputRedirectionClient-Qt
qmake-qt5
make

On ubuntu there is a bit more to install:

apt update
apt install libqt5gamepad5-dev git qt5-default qt5-qmake make g++
git clone https://github.com/TuxSH/InputRedirectionClient-Qt
cd InputRedirectionClient-Qt
qmake
make

lambdagolem avatar Dec 15 '20 10:12 lambdagolem

https://github.com/TuxSH/InputRedirectionClient-Qt/issues/35#issuecomment-745197558 If it helps anyone, the Ubuntu packages for building listed above have slightly changed. qt5-default is no longer included in the default repos. Now you should install

# same
apt install libqt5gamepad5-dev git  qt5-qmake make g++
# new additional dependencies
apt install qtbase5-dev qtchooser  qtbase5-dev-tools

Then do the same qmake and make

C-Loftus avatar Jun 29 '22 21:06 C-Loftus

libqt5gamepad5-dev

On Ubuntu 18.04:

E: Unable to locate package libqt5gamepad5-dev
E: Unable to locate package libqt5gamepad5

RFRIEDM-Trimble avatar Oct 11 '22 02:10 RFRIEDM-Trimble