Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-48555

Getting TSMProcessRawKeyCode failed (-192) when executing outside QtCreator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • Not Evaluated
    • None
    • 5.5.0
    • None
    • OS X
    • macOS

    Description

      When I've built my application and run macdeployqt on the application bundle, running it outside QtCreator causes this output when writing in a line edit:

      2015-10-01 14:04:42.184 MyApp[6819:824054] TSMProcessRawKeyCode failed (-192)
      2015-10-01 14:04:42.185 MyApp[6819:824054] (
      0 CoreFoundation 0x00007fff994a703c __exceptionPreprocess + 172
      1 libobjc.A.dylib 0x00007fff99b4776e objc_exception_throw + 43
      2 CoreFoundation 0x00007fff994a6eed +[NSException raise:format:] + 205
      3 AppKit 0x00007fff9b884200 _convertEventRefToString + 274
      4 AppKit 0x00007fff9b884057 -[NSEvent charactersIgnoringModifiers] + 629
      5 libqcocoa.dylib 0x000000010afed801 qt_plugin_instance + 81329
      6 libqcocoa.dylib 0x000000010afedd64 qt_plugin_instance + 82708
      7 AppKit 0x00007fff9be00ef2 -[NSWindow _reallySendEvent:isDelayedEvent:] + 4931
      8 AppKit 0x00007fff9b792c86 -[NSWindow sendEvent:] + 470
      9 libqcocoa.dylib 0x000000010afe0027 qt_plugin_instance + 26071
      10 libqcocoa.dylib 0x000000010afdf9cb qt_plugin_instance + 24443
      11 AppKit 0x00007fff9b78f8b1 -[NSApplication sendEvent:] + 4199
      12 libqcocoa.dylib 0x000000010aff6dce qt_plugin_instance + 119678
      13 AppKit 0x00007fff9b6b8b68 -[NSApplication run] + 711
      14 libqcocoa.dylib 0x000000010aff37fd qt_plugin_instance + 105901
      15 QtCore 0x0000000101c898cd _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE + 381
      16 QtCore 0x0000000101c8c78a _ZN16QCoreApplication4execEv + 346
      17 MyApp 0x00000001005ce357 main + 3351
      18 MyApp 0x00000001005cd634 start + 52
      19 ??? 0x0000000000000001 0x0 + 1

      Nothing appears inside the linedit.
      This doesn't happen when running as administrator via sudo.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            hertzy Heikki Mäenpää
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes