[Solved] Showing “Loading” widget while heavy processing…
I’m new to Qt, and i’m on a cryptographic app.
I’m using drag-and-drop features in my app, and when you drop a clear file, i call a method “encrypt(filename)”, which block the entire app during the encryption.
I want to show the user i’m processing his file, so I’m creating a QWidget with the SplashScreen flag, but when I do “loadingWidget->show()” THEN “encrypt()”, there is a white and empty widget showing, then the app is blocked while the file is being encrypted, THEN the widget show the text “Loading”.
Nothing works. Any idea :/ ?
(I don’t even know the problem :( )
Thank you for your help !
PS: Here is my drop function: http://pastebin.com/XeJZwRXq