TuxSH / InputRedirectionClient-Qt

Input redirection client for the 3DS using QtGamepad
MIT License
120 stars 25 forks source link

Build Instructions/Linux Version? #35

Open adueppen opened 5 years ago

adueppen commented 5 years ago

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?

ParzivalWolfram commented 5 years ago

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

oreo639 commented 5 years ago

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)

ParzivalWolfram commented 5 years ago

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 notifications@github.com 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 .

ioistired commented 4 years ago

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

ParzivalWolfram commented 4 years ago

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 notifications@github.com 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 .

ioistired commented 4 years ago

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.

ParzivalWolfram commented 4 years ago

Can't say the same, sadly...

On Thursday, September 5, 2019, Ben Mintz notifications@github.com 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 .

ioistired commented 4 years ago

:(

DuBistKomisch commented 4 years ago

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:

ioistired commented 4 years ago

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

DuBistKomisch commented 4 years ago

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 commented 4 years ago

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

lambdagolem commented 3 years ago

(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
C-Loftus commented 2 years ago

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

RFRIEDM-Trimble commented 1 year ago

libqt5gamepad5-dev

On Ubuntu 18.04:

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