Qt Quick Test when using QQmlFileSelector
buggex last edited by
Is there some way to use fileselectors for qml files while also using Qt Quick Test?
I have a qml code base that uses QQmlFileSecltor and I would like to apply a specific file selectors when running different tests.
The problem I have is that the QQucikView is create by Qt with
so I do not have access to the qml engine to apply a QQmlFileSelector.
@buggex You could run your tests with custom selectors in the
QT_FILE_SELECTORSenvironment variable : http://doc.qt.io/qt-5/qfileselector.html#adding-selectors