Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[SOLVED] Bugfix qshortcutmap.cpp



  • Hello,

    When I start my application and press special keys then I get an assert failure ("ASSERT failure in QShortcutMap::find: "New sequence to find identical to previous").
    Here I found the bugfix: "Change Idd451fb7":https://codereview.qt-project.org/#patch,sidebyside,55468,3,src/gui/kernel/qshortcutmap.cpp

    But how I can execute this? Nowhere I could find cpp-files in Qt installation directory to replace the old class implementation.
    Besides error message in output window there is a link to error source (kernel\qshortcutmap.cpp, line 457), but clicking on it just give me following message: file can't open to read, path can't be find by system.

    Perhaps, anybody can help me, please?


  • Lifetime Qt Champion

    Hi,

    Do you have Qt's sources installed ? If not, you will have to download them, patch the file by hand and build Qt.

    The patch is now waiting for approval for Qt 4



  • Thank you very much.
    Now I'm asking me why I didn't find the answer itself. Yes, I am using binary version yet.


  • Lifetime Qt Champion

    You're welcome !

    If you use the git sources, the fix is now in

    So you can also update the thread's title prepending solved so other forum users may know that a solution has been found :)


Log in to reply