OpenFlipper-Free issueshttps://gitlab.vci.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/-/issues2017-08-02T09:07:31Zhttps://gitlab.vci.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/-/issues/105Branding compilation error2017-08-02T09:07:31ZMartin SchultzBranding compilation errorso 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 th...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
```https://gitlab.vci.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/-/issues/106GLError on OSX With Qt 5.7 and Qt 5.82017-08-02T09:07:31ZMartin SchultzGLError on OSX With Qt 5.7 and Qt 5.8When i compile OpenFlipper on OSX using Qt 5.7 or Qt 5.8 i get GLErrors when i add geometry to an empty scene.
E.G. add a cube to a freshly started OpenFlipper.
If this is caused by the QPainter, which is indicated by my preliminary te...When i compile OpenFlipper on OSX using Qt 5.7 or Qt 5.8 i get GLErrors when i add geometry to an empty scene.
E.G. add a cube to a freshly started OpenFlipper.
If this is caused by the QPainter, which is indicated by my preliminary tests, i recommend reimplenting the QPainter. This way we might be able to provide CoreProfile compatibility with Qt Versions older than 5.9 and fix this issue at the same time.Martin SchultzMartin Schultzhttps://gitlab.vci.rwth-aachen.de:9000/OpenFlipper-Free/OpenFlipper-Free/-/issues/100move away from deprecated QTScript to QJSEngine based scripting2020-11-24T08:33:04ZJascha Wedowskimove away from deprecated QTScript to QJSEngine based scriptingQTScript is deprecated since QT 5.5 (?), recommended alternative is QJSEngine.
Problems with moving away are:
* QTScript systems are present in interfaces -> interfaces will have to change
* As a result of this, plugins using the script...QTScript is deprecated since QT 5.5 (?), recommended alternative is QJSEngine.
Problems with moving away are:
* QTScript systems are present in interfaces -> interfaces will have to change
* As a result of this, plugins using the scripting system have to be touched
First step: Abstract direct usage of QTScript classes in usage code (i.e. PropertyVisPlugin) to find suitable new abstraction
When this is done, make all usage code use new abstraction, then incrementally port internals to QJSEngine.Jascha WedowskiJascha Wedowski