diff --git a/configure.ac b/configure.ac index 5983f4a61..9cf027aa3 100644 --- a/configure.ac +++ b/configure.ac @@ -117,7 +117,7 @@ AS_IF([test "x$enable_qt" = "xyes"], [ AC_CHECK_PROGS(MOC, [moc-qt5 moc]) AC_CHECK_PROGS(UIC, [uic-qt5 uic]) - AC_CHECK_PROGS(RCC, [rcc]) + AC_CHECK_PROGS(RCC, [rcc-qt5 rcc]) if test -z "$MOC" || test -z "$UIC" || test -z "$RCC"; then AC_MSG_ERROR([Qt utility programs moc, uic, and rcc are required.]) fi diff --git a/src/libprojectM/Makefile.am b/src/libprojectM/Makefile.am index 12d16cac4..f08665d26 100644 --- a/src/libprojectM/Makefile.am +++ b/src/libprojectM/Makefile.am @@ -14,7 +14,7 @@ AM_CPPFLAGS = \ lib_LTLIBRARIES = libprojectM.la # public, possibly-shared library # link flags -libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 0:2:0 +libprojectM_la_LDFLAGS = $(CG_LDFLAGS) -no-undefined -version-info 2:0:0 # link libRenderer, MilkdropPresetFactory, NativePresetFactory, and libprojectM sources libprojectM_la_LIBADD = \ diff --git a/src/projectM-qt/nullable.hpp b/src/projectM-qt/nullable.hpp index 88e4a37bc..e491a9798 100644 --- a/src/projectM-qt/nullable.hpp +++ b/src/projectM-qt/nullable.hpp @@ -31,6 +31,8 @@ class Nullable { Nullable & operator=(const Value & value) { m_value = value; m_hasValue = true; + static Nullable tmp = 0; + return tmp; } void nullify() {