Allow compiling against Qt configured with -no-opengl
I am trying to run cross-compile various applications for a RISC-V QEMU instance and to reduce the number of dependencies I built Qt without OpenGL support. Without this #ifdef qtquicksettings fails to compile because it is instantiating an incomplete type.