ROSEGARDENPRIVATE_LIB_MAKEDLL is defined globally in src/CMakeLists.txt: add_definitions(-DROSEGARDENPRIVATE_LIB_MAKEDLL) with a target_definition, ROSEGARDENPRIVATE_LIB_MAKEDLL is defined only for the shared lib as expected and Q_DECL_IMPORT is used for binaries: target_compile_definitions(rosegardenprivate PRIVATE ROSEGARDENPRIVATE_LIB_MAKEDLL) I suspect this may be related to recent binutils, stricter with qt* compiled with QT_USE_PROTECTED_VISIBILITY?
Making PCH optional is not always well understood so I didn’t propose but that's great, thank you !
Making PCH is not always well understood so I didn’t propose but that's great, thank you !
I think DISABLE_LV2 is better, yes. lv2 is the name of the option here (gentoo). Thanks.
Hi, Patch src/base/Pitch.cpp for QObject is required here : --- a/src/base/Pitch.cpp +++ b/src/base/Pitch.cpp @@ -28,6 +28,8 @@ #include <vector> +#include <QObject> + //dmm This will make everything excruciatingly slow if defined: //#define DEBUG_PITCH
Duplicate, sry : sourceforge warned me with an error but 1 hour later create a ticket ...
Hi, Sry for the delay. I think you can find what you want in the attachments of https://bugs.gentoo.org/957755 (build log https://bugs.gentoo.org/attachment.cgi?id=932747) Let me know if you want other tests.
static fails: missing $(OBJECTS2)