Obsolete Members for QQmlFileSelector | Qt QML 6.1.0

- Qt 6.1
- Qt QML
- C++ Classes
- QQmlFileSelector
- Qt 6.1.0 Reference Documentation

# Obsolete Members for QQmlFileSelector

The following members of class QQmlFileSelector are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

## Static Public Members

`(obsolete)` QQmlFileSelector * | get(QQmlEngine *engine)

## Member Function Documentation

### `[static]` QQmlFileSelector *QQmlFileSelector::get(QQmlEngine *engine)

This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.

Gets the QQmlFileSelector currently active on the target engine.

This method is deprecated. You should not retrieve the files selector from an engine after setting it. It may be in use.

If the engine passed here is a QQmlApplicationEngine that hasn't loaded any QML files, yet, it will be initialized. Any later calls to QQmlApplicationEngine::setExtraFileSelectors() will have no effect.

See also QQmlApplicationEngine.