Qt5 QFileDialog - extremely slow and unresponsive



  • Hi guys,

    I'm having a slight problem here, when creating a file dialog as simple as this:

    @QString fileName = QFileDialog::getOpenFileName(this, tr("Open File"));@

    It opens after 2 seconds, but then with a folder having 20-30 files, just hovering over a file takes 6 seconds for anything to happen, or just selecting a file, to it somehow freezes or something, so to select a file can take up to 10 seconds or more.

    Info:
    Visual Studio 2012 - C++ - Build Qt5 from source

    What could I be doing wrong?

    Ohh, and I also have another problem, if I have the master window, and then another window, then if I try to move the other window when open, it moves some pixels, but then gets stuck, and then I need to alt tab out, and then the window has gone back to it's original position, from where I can do it all over again.



  • Hi,
    Is the rest of your debugger working properly? Did you try the released version? I encountered some slow responses when using MSVC2010 compiler/debugger in QtCreator. The debugger worked, but was sooo slow. I needed to change the debugger to the 32 bits version even working on a 64bits machine. This because I installed the 32bits Qt version.
    Greetz



  • This is all in release mode, and if I remember correctly, I compiled qt in release too.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.