Page 1 of 1

[Linux][QT5] Cannot add audio files

Posted: Tue Aug 08, 2017 6:19 pm
by Rik
Hi,

I'm using the latest 4.11.1 QT5 version compiled from git on fedora x64.

In the functions tab, I cannot add audio files using the "Open Audio File" Dialog. When I select "Audio Files", no files are shown (e.g. ".mp3", "wav"). When I select "All Files" and select a audio file, I get the error dialog message "Unsupported audio file": "This audio file cannot be played with QLC+. Sorry."

Can I help fixing this issue?

Re: [Linux][QT5] Cannot add audio files

Posted: Wed Aug 09, 2017 9:03 am
by mcallegari
If no extensions are listed in the open dialog, it means you built QLC+ without libsndfile and libmad dependencies.

Now I notice they're not mentioned in the GitHub wiki (but they are in the Ubuntu/Debian/Mint paragraph) but they should be: libsndfile-devel and libmad-devel.
Not sure if Fedora have removed libmad from their repos though.

Re: [Linux][QT5] Cannot add audio files

Posted: Wed Aug 09, 2017 1:07 pm
by Rik
Ok thanks, I will check later. Fedora has those libraries in their repositories.

Re: [Linux][QT5] Cannot add audio files

Posted: Wed Aug 09, 2017 5:24 pm
by sbenejam
On Xubuntu 16.04 QLC+ 4.11 from git are working as expected. I can add sound files without errors.

Re: [Linux][QT5] Cannot add audio files

Posted: Thu Aug 10, 2017 10:36 am
by Rik
So I checked my installed packages. I had both libraries installed:

Code: Select all

Package libmad-0.15.1b-21.fc26.x86_64 is already installed, skipping.
Package libsndfile-1.0.28-3.fc26.x86_64 is already installed, skipping.
Package libsndfile-1.0.28-3.fc26.i686 is already installed, skipping.
Do I have to specify any compile flags?

Re: [Linux][QT5] Cannot add audio files

Posted: Thu Aug 10, 2017 11:43 am
by mcallegari
You need the devel packages and rebuild QLC+. Please read my last post again.

Re: [Linux][QT5] Cannot add audio files

Posted: Thu Aug 10, 2017 4:49 pm
by Rik
Yes, sorry that worked for me. Thanks!

I suggest to add the two packages to the install instructions in the wiki.

Code: Select all

dnf install libmad-devel libsndfile-devel

Re: [Linux][QT5] Cannot add audio files

Posted: Sat Aug 12, 2017 7:04 am
by mcallegari
Rik wrote: Thu Aug 10, 2017 4:49 pm I suggest to add the two packages to the install instructions in the wiki.

Code: Select all

dnf install libmad-devel libsndfile-devel
Updated 3 days ago. No idea what 'dnf' is though.

Re: [Linux][QT5] Cannot add audio files

Posted: Sat Aug 12, 2017 11:13 am
by Rik
dnf is the package manager since fedora 23 I think. It replaced yum.