Problems with Open-Source Downloads read and

QFileSystemModel setRootPath method slow work

  • Hello guys!

    I have some problems with using QFileSystemModel in my Qt project. My application construct QFileSystemModel object and initialize it the way I found in Qt documentation:

    QFileSystemModel *model = new QFileSystemModel;

    I placed this code in my MainWindow constructor. The problem is that my application starts very slow course of setRootPath method (it doesnt response first 2-3 seconds, than it works properly). If I comment serRootPath method, everything works properly. Any ideas where is a problem?

  • Lifetime Qt Champion


    What path is it ? Do you have any network drive connected to your computer ?

Log in to reply