Project

General

Profile

Bug #1904

fail to compile, XKeycodeToKeysym is deprecated (revision 83a88718)

Added by eunbolt over 9 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Defect
Target version:
-
Start date:
2014-11-20
% Done:

100%

Tags:

Description

ubuntu 14.10 64bit
compiling with qtcreator

this is the output

/media/lvm/Src/deng/doomsday/libgui/src/input/keyevent.cpp:-1: In function 'int x11ScancodeToDDKey(int)':

/media/lvm/Src/deng/doomsday/libgui/src/input/keyevent.cpp:353: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated (declared at /usr/include/X11/Xlib.h:1699) [-Wdeprecated-declarations]
KeySym sym = XKeycodeToKeysym(disp, scancode, 0);

https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym

Associated revisions

Revision a7d41696 (diff)
Added by skyjake over 9 years ago

Fixed|libgui|X11: Replaced use of deprecated XKeycodeToKeysym

Using solution from:
https://stackoverflow.com/questions/9838385/replace-of-xkeycodetokeysym

IssueID #1904

History

#1 Updated by skyjake over 9 years ago

  • Tags set to X11, Input
  • Status changed from New to In Progress
  • Assignee set to skyjake

#2 Updated by skyjake over 9 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

#3 Updated by skyjake over 9 years ago

I replaced the deprecated function, however this shouldn't be leading to a build failure. Are you sure you are not missing any dependencies etc.?

#4 Updated by eunbolt over 9 years ago

That fixed it.

#5 Updated by skyjake over 9 years ago

  • Status changed from Resolved to Closed

#6 Updated by skyjake over 9 years ago

  • Subject changed from fail to compile, XKeycodeToKeysym is deprecated (revision 83a887180c44d812bdd5aefca38d6be552ef6edb) to fail to compile, XKeycodeToKeysym is deprecated (revision 83a88718)

#7 Updated by skyjake almost 9 years ago

  • Target version deleted (49)

Also available in: Atom PDF