From f2bcd3787d9b6be804d34135e4ec46ca3d58d178 Mon Sep 17 00:00:00 2001 From: Mischa Spiegelmock Date: Sun, 19 Jan 2020 12:54:24 +0200 Subject: [PATCH] Hardcode missing Qt5 libs (libQt5Gui and libQt5OpenGL) to fix missing DSO linkage with qt on Ubuntu 19.10 (#293) --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index a305da9a8..7619f262b 100644 --- a/configure.ac +++ b/configure.ac @@ -183,6 +183,10 @@ AS_IF([test "$enable_qt" != "no"], # we have at least qt5 if $have_qt is true enable_qt=yes export QT_SELECT=qt5 + + # we depend on lQt5Gui and lQt5OpenGL + # https://github.com/projectM-visualizer/projectm/issues/271 + LIBS="$LIBS -lQt5Gui -lQt5OpenGL" ], [AS_IF([test "$enable_qt" = "yes"], [AC_MSG_ERROR(["Qt5 not found"])],