The correct answer is to use the environment variable QSG_RHI_BACKEND=opengl instead of QT_QUICK_BACKEND=opengl
QSG_RHI_BACKEND=opengl
QT_QUICK_BACKEND=opengl