PDA

View Full Version : q3InitNetworkProtocols + qt4Porting



atsoum
6th August 2012, 14:22
Hello,

I am developing a customFileDialog. In the past we were using Qt 3.3.6 and we had developed a fileDialog, which was an extended version of QFileDialog. In our application initialization there was a call to the function "qInitNetworkProtocols". The result was to have great loading times, when we wanted to list files/folders of a mapped network drive in windows.
Now, I am developing a new Filedialog, in qt4 native code. I have problems of accessing mapped network drives in windows. Loading time is > 3sec. The same issue exist even if I run qt4 file dialog examples.
I tried QFileSystemModel with no luck. I now don't use it and I only use QDir and entryInfoList. I suspect that there is no way to call a single fucntion that will register a networkprotocol and help mapped network drives, loading times.
I read about QNetworkAccesManager but this is a complex way. Is there something I can do?