Opened 9 years ago

Closed 9 years ago

#6028 closed enhancement (fixed)

Qt 5.4.0 not respecting -no-pulseaudio

Reported by: Chris Staub Owned by: bdubbs@…
Priority: normal Milestone: 7.7
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description

Qt 5.4.0 will fail to build if Pulseaudio is not installed, even if -no-pulseaudio is used. It will search for, and fail to find, the pkg-config file for Pulseaudio. I found a bug about this and a possible fix here - https://bugreports.qt.io/browse/QTBUG-43387. Testing the fix to make sure it actually works.

Change History (6)

comment:1 by Armin K, 9 years ago

I suggest that you disable qtwebengine entirely. Nothing uses it at the moment and it nearly doubles the build time.

-skip qtwebengine.

comment:2 by bdubbs@…, 9 years ago

I agree that -skip qtwebengine is probably the way to go, but if qtwebengine is really needed, we could use:

sed -i '$ a !contains(QT_CONFIG, pulseaudio): GYP_CONFIG += use_pulseaudio=0' \
       qtwebengine/src/core/config/desktop_linux.pri

I ran the ./configure in the book and it was OK with the above sed, but haven't had time to do a full build. It's running, but I don't expect it to finish soon.

comment:3 by Armin K, 9 years ago

The problem doesn't happen at configure time, but at build time when qmake tries to configure the qtwebengine module. If you already have Qt5 installed, you could try and run qmake in the qtwebengine directory and see if it changes anything.

comment:4 by bdubbs@…, 9 years ago

Finally finished the make stage. No errors noted when the above sed in comment 2 is applied.

The question now remains, do we use -skip qtwebengine or the sed? I lean toward the skip with an explanation that if it is omitted, then the sed is needed.

comment:5 by bdubbs@…, 9 years ago

Owner: changed from blfs-book@… to bdubbs@…
Status: newassigned

comment:6 by bdubbs@…, 9 years ago

Resolution: fixed
Status: assignedclosed

Added stats for building without qtwebengine and make -skip qtwebengine the default.

Also added the sed in the command explanations it the -skip qtwebengine option is omitted.

Fixed at revision 15400.

Note: See TracTickets for help on using tickets.