ported to qtquick, no dpi scaling yet