qt - QtWebkit, Can't use '@' key -


my qt program (using qt v5.0.2) contains qwebview in user supposed login using email address , password. works fine on windows (tried on w7 , server 2008) on mac (10.7.5) have encountered annoying issue. when pressing alt-2 (key combination @) nothing happens.

i have spent countless hours testing , trying find info on net it, can't find it.

is there workaround? fix? or known issue?

edit: noted in comments below, keyboard european/swedish.

it's genuine qt bug. reported https://bugreports.qt-project.org/browse/qtbug-34981

today found code responsible in

./qtwebkit/source/webkit/qt/webcoresupport/editorclientqt.cpp 

around line 480 says

#ifndef q_ws_mac     // need exclude checking alt because different shift                                                                  if (!kevent->altkey()) #endif      shouldinserttext = true; 

apparently, q_ws_mac isn't defined on mac builds @ time - think it's been deprecated in favor of q_os_mac.s

simply changing statement to

shouldinserttext = true; 

when compiling on mac fixed problem us.


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -