Results 1 to 4 of 4

Thread: Strange QFileDialog static methods behavior while debugging in Qt Creator

  1. #1
    Join Date
    Jun 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Strange QFileDialog static methods behavior while debugging in Qt Creator

    A simple call to QFileDialog:::getOpenFileName or QFileDialog:::getSaveFileName methods get stuck while debugging in Qt Creator. I tried checking stack. The stack is even more baffling:
    0 KiFastSystemCallRet ntdll 0x77987094
    1 RtlEncodeSystemPointer ntdll 0x779a06ea
    2 RtlGetCurrentTransaction ntdll 0x779a4d03
    3 RtlQueryEnvironmentVariable_U ntdll 0x779a4fdf
    4 RtlQueryEnvironmentVariable_U ntdll 0x779a4f65
    5 RtlEncodeSystemPointer ntdll 0x779a0bbd
    6 strcmpi ntdll 0x779a56ee
    7 RtlQueryEnvironmentVariable_U ntdll 0x779a4fdf
    8 RtlQueryEnvironmentVariable_U ntdll 0x779a4f65
    9 RtlEncodeSystemPointer ntdll 0x779a0bbd
    10 strcmpi ntdll 0x779a56ee
    11 RtlQueryEnvironmentVariable_U ntdll 0x779a4fdf
    12 RtlQueryEnvironmentVariable_U ntdll 0x779a4f65
    13 RtlEncodeSystemPointer ntdll 0x779a0bbd
    14 LdrUnlockLoaderLock ntdll 0x779a03f1
    15 LdrLoadDll ntdll 0x779a22b2
    16 FreeLibrary KERNELBASE 0x75d08c19
    17 DllCanUnloadNow TortoiseStub32 0x701a584e
    18 DllGetClassObject TortoiseStub32 0x701a58c8
    19 TortoiseOverlays 0x708e1844
    20
    Can anybody kindly explain what is happening here?

    Thank you.

    Rupesh

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Strange QFileDialog static methods behavior while debugging in Qt Creator

    The native system file dialog is being called. There is no Qt code here.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    rupeshbhurke (30th January 2013)

  4. #3
    Join Date
    Jun 2010
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Strange QFileDialog static methods behavior while debugging in Qt Creator

    Thank you wysota!

    Just to clear one more thing. If call to
    Qt Code:
    1. QFileDialog:::getOpenFileName
    To copy to clipboard, switch view to plain text mode 
    is commented things work fine. But when uncommented there is a sure stuck up! Why?

  5. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Strange QFileDialog static methods behavior while debugging in Qt Creator

    No idea. I don't really understand what you mean by "stuck up".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. strange behavior with QFileDialog::getExistingDirectory
    By cemoktra in forum Qt Programming
    Replies: 1
    Last Post: 2nd May 2013, 14:20
  2. Qt Creator Strange behavior of GDB in Creator 1.3
    By rayjc in forum Qt Tools
    Replies: 1
    Last Post: 11th March 2010, 22:42
  3. Adding Library Methods - Static Vs Dynamic
    By waynew in forum Qt Programming
    Replies: 1
    Last Post: 15th January 2010, 17:16
  4. static QEventLoop strange behavior
    By SABROG in forum Qt Programming
    Replies: 2
    Last Post: 29th July 2009, 13:04
  5. Virtual static methods alternative :D
    By hickscorp in forum General Programming
    Replies: 8
    Last Post: 4th January 2008, 18:59

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.