Closed khourig closed 5 years ago
I'm building on Mac with Xcode 10.1 and Qt 5.12 and I had to fix 2 lines to compile:
diff --git a/src/ElementProperties.cpp b/src/ElementProperties.cpp index ec4a0b5..c4b0b60 100644 --- a/src/ElementProperties.cpp +++ b/src/ElementProperties.cpp @@ -398,7 +398,7 @@ ElementProperties::applyClicked () break; } - LOG_INFO("property %s not supported", itr.key ()); + LOG_INFO("property %s not supported", itr.key ().constData()); break; } };
diff --git a/src/Logger.cpp b/src/Logger.cpp index 5195b88..b2a5bf6 100644 --- a/src/Logger.cpp +++ b/src/Logger.cpp @@ -124,7 +124,7 @@ void Logger::processLog(const QString& line) //#define GST_TIME_FORMAT "u:%02u:%02u.%09u" #define GST_TIME_FORMAT "%s" -#define PRINT_FMT " "PID_FMT" "PTR_FMT" %s "CAT_FMT" %s\n" +#define PRINT_FMT " " PID_FMT " " PTR_FMT " %s " CAT_FMT " %s\n" struct GSTLog { gchar* date;
Did you want this as a PR or will the git diffs above suffice?
sure
I'm building on Mac with Xcode 10.1 and Qt 5.12 and I had to fix 2 lines to compile:
Did you want this as a PR or will the git diffs above suffice?