Branding compilation error
so i just checked, whether the branding capabilities of OF are still working, after i opened https://www.graphics.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/merge_requests/283 but unfortunately i encountered an error during the compilation. Don't know whether i missed something necessary for branding as i only specified OPENFLIPPER_PRODUCT_STRING and OPENFLIPPER_PRODUCT_NAME in the branding.cmake which was located in the folder /OpenFlipper-Free/Package-Wurst/branding/branding.cmake
other than that make file, i did nothing for branding. However the error message is not very informative, even if i missed something that is necessary for branding OF, a warning or error message would be very helpful
here is the error message the compiler gives me:
[100%] Linking CXX executable ../../Build/Wurstbrot.app/Contents/MacOS/Wurstbrot
ld: warning: direct access in QtPrivate::ValueTypeIsMetaType<QList<QWidget*>, true>::registerConverter(int) to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QtPrivate::ValueTypeIsMetaType<QList<QWidget*>, true>::registerConverter(int) to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QtPrivate::ConverterFunctor<QList<QWidget*>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QWidget*> > >::~ConverterFunctor() to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QtPrivate::ConverterFunctor<QList<QWidget*>, QtMetaTypePrivate::QSequentialIterableImpl, QtMetaTypePrivate::QSequentialIterableConvertFunctor<QList<QWidget*> > >::~ConverterFunctor() to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id() to global weak symbol QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id() to global weak symbol QtMetaTypePrivate::QMetaTypeFunctionHelper<QWidget*, true>::Construct(void*, void const*) means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id() to global weak symbol QtMetaTypePrivate::QMetaTypeFunctionHelper<QWidget*, true>::Destruct(void*) means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id() to global weak symbol QMetaTypeIdQObject<QWidget*, 8>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, (QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined) && (!(QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn))>::DefinedType) to global weak symbol QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Construct(void*, void const*) means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, (QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined) && (!(QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn))>::DefinedType) to global weak symbol QtMetaTypePrivate::QMetaTypeFunctionHelper<QtMetaTypePrivate::QSequentialIterableImpl, true>::Destruct(void*) means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, (QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined) && (!(QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn))>::DefinedType) to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
ld: warning: direct access in int qRegisterNormalizedMetaType<QtMetaTypePrivate::QSequentialIterableImpl>(QByteArray const&, QtMetaTypePrivate::QSequentialIterableImpl*, QtPrivate::MetaTypeDefinedHelper<QtMetaTypePrivate::QSequentialIterableImpl, (QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::Defined) && (!(QMetaTypeId2<QtMetaTypePrivate::QSequentialIterableImpl>::IsBuiltIn))>::DefinedType) to global weak symbol QMetaTypeId<QtMetaTypePrivate::QSequentialIterableImpl>::qt_metatype_id()::metatype_id means the weak symbol cannot be overridden at runtime. This was likely caused by different translation units being compiled with different visibility settings.
Error copying file (if different) from "/Users/schultz/2017/missingPlugins/OpenFlipper-Free/Package-Wurst/branding/mac/OpenFlipper_Icon.icns" to "/Users/schultz/2017/missingPlugins/build/Build/Wurstbrot.app/Contents/Resources/OpenFlipper.icns".
make[2]: *** [Build/Wurstbrot.app/Contents/MacOS/Wurstbrot] Error 1
make[2]: *** Deleting file `Build/Wurstbrot.app/Contents/MacOS/Wurstbrot'
make[1]: *** [OpenFlipper/CoreApp/CMakeFiles/Wurstbrot.dir/all] Error 2
make: *** [all] Error 2