Re: Native QFileDialog block
Anybody has an idea?
Here is some informations i found:
the module which crashes is named 'hungapp'. The crash is present on all computers i have tested - and apparently not because of a virus.
I cannot use debugger because de native file dialog get stuck when in this dialog i want to change current folder...
I have searched the forum but haven't found a solution...
Re: Native QFileDialog block
I've searched again, and now i think there is a problem with the hook qt makes.
But always no solutions...
Please help it's very important
Re: Native QFileDialog block
Up.
I retested with Qt Creator (and Qt 4.4.3) and when i try to change folder it works but a half-second later i have a lot of
warnig : QFile::seek: QIODevice is not open
in the output zone...
I really don't understand anything...
Re: Native QFileDialog block
I think, you should report to Trolltech about that issue:
http://trolltech.com/bugreport-form
Re: Native QFileDialog block
I send the bug.
But if anyone has an idea it would be very useful. I have tested many things - but always without results...
Re: Native QFileDialog block
I was appear it, but I found that my code include some pic , it not resource , it is seem as:
QMovie *movie = new QMovie("images/flower.gif");
and then I use: QFileDialog::getOpenFileName and appear :
QFile::seek: IODevice is not open
QFile::seek: IODevice is not open
QFile::seek: IODevice is not open
QFile::seek: IODevice is not open
and program is dead;
so I changed it as resource:
QMovie *movie = new QMovie(":/images/flower.gif");
it succ
mail to me: kyosold@qq.com
Re: Native QFileDialog block
Thank you very much !
I will test this (I think that it could be the right solution because I use QMovie too...)
Re: Native QFileDialog block
OK, I have tested, and I found why there was this bug. In fact, QMovie loads a frame everytime the current frame change, because by default QMovie does not cache the data.
By setting setCacheMode(QMovie::CacheAll) the bug disappear.
Re: Native QFileDialog block
OK, I had learn it, thanks :)