Invalid conversion in ui_theme_manager.cpp

The problem: C compiler likes to have the memory-allocations as void*, but in your case the C++ compiler doesn’t only throw a warning, but stops with an error if there aren’t castings before memory allocations. We’ll take care of this for C++ exports, but for now you can find several easy solutions to circumvent this in this duplicate topic: 1.4: memory allocation bug with styles
Probably the best option is to set ‘-fpermissive’ in your compiler options, so it will only give a warning and compile fine.