The deprecated Drawing module still uses some classes that have been removed with Qt6. These are the classes: * QRegExp that is replaced with QRegularExpression * QGLWidget that is replaced with QOpenGLWidget