core & ui_qt: make ldr, db and os configurable