Important: Please read the Qt Code of Conduct -

Providing same shortcuts for the actions

  • Hi,
    In my application im creating 4 mainwindow class objects,which is having some actions with shortcuts.Depending on the user input 1,2 or 4 mainwindow will get showed.But when im trying to access my shortcuts its giving an error like "Ambiguous shortcut overload.....".
    I have tried with shortcutcontext but no result. Any solution to this problem??


  • Are you using the same shortcut sequence twice in a MainWindow/across MainWindows?

  • Directly im not using but qmainwindow class im creating 4 objects na so each object will be using the same actions and shortcuts when the particular object is get called.

Log in to reply