[Linux][QT5] Cannot add audio files

The issues found when using the Function Manager panel
Post Reply
Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

[Linux][QT5] Cannot add audio files

Post by Rik » Tue Aug 08, 2017 6:19 pm

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?

User avatar
mcallegari
Posts: 1931
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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

Post by mcallegari » Wed Aug 09, 2017 9:03 am

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.

Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

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

Post by Rik » Wed Aug 09, 2017 1:07 pm

Ok thanks, I will check later. Fedora has those libraries in their repositories.

User avatar
sbenejam
Posts: 121
Joined: Sun Apr 12, 2015 6:28 pm
Real Name: Santiago Benejam Torres
Contact:

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

Post by sbenejam » Wed Aug 09, 2017 5:24 pm

On Xubuntu 16.04 QLC+ 4.11 from git are working as expected. I can add sound files without errors.

Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

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

Post by Rik » Thu Aug 10, 2017 10:36 am

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?

User avatar
mcallegari
Posts: 1931
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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

Post by mcallegari » Thu Aug 10, 2017 11:43 am

You need the devel packages and rebuild QLC+. Please read my last post again.

Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

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

Post by Rik » Thu Aug 10, 2017 4:49 pm

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

User avatar
mcallegari
Posts: 1931
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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

Post by mcallegari » Sat Aug 12, 2017 7:04 am

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.

Rik
Posts: 12
Joined: Mon Jul 20, 2015 7:51 pm
Real Name:

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

Post by Rik » Sat Aug 12, 2017 11:13 am

dnf is the package manager since fedora 23 I think. It replaced yum.

Post Reply