OSDN Git Service

[Qt][OSD] Fix FTBFS with one-board-computers.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 20 May 2016 18:19:52 +0000 (03:19 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 20 May 2016 18:19:52 +0000 (03:19 +0900)
[Qt] Installer: Add libCSPosd.so .

source/src/qt/osd.h
source/src/qt/osd_input.cpp
source/src/qt/osd_wrapper.cpp
source/tool/installer_unix.sh

index 38d19c6..0ffe75c 100644 (file)
@@ -254,7 +254,7 @@ protected:
        void vm_key_down(int code, bool flag);
        void vm_key_up(int code);
        void vm_reset(void);
-       void update_buttons(void);
+       void update_buttons(bool press_flag, bool release_flag);
        QString get_vm_config_name(void);
        int get_screen_width(void);
        int get_screen_height(void);
index 426819c..66677aa 100644 (file)
@@ -163,7 +163,7 @@ void OSD::update_input()
        }
        lost_focus = false;
 
-       update_buttons();
+       update_buttons(press_flag, release_flag);
        // update mouse status
        if(mouse_enabled) {
                bool hid = false;
index e70b673..414efd5 100644 (file)
@@ -185,7 +185,7 @@ int OSD::get_vm_buttons_code(int num)
 #endif
 }      
 
-void OSD::update_buttons(void)
+void OSD::update_buttons(bool press_flag, bool release_flag)
 {
 #if defined(MAX_BUTTONS)
        if(!press_flag && !release_flag) {
index 06855e7..8bfded8 100755 (executable)
@@ -7,7 +7,7 @@ LDCONFIG=/sbin/ldconfig
 CSP_ARCH="x86_64-linux-gnu"
 MULTIARCH="Yes"
 CSP_PREFIX=/usr/local
-CSP_GUILIB="libCSPgui.so.1.1.0"
+CSP_GUILIB="libCSPgui.so.1.1.0 libCSPosd.so.1.0.0"
 
 for i in "$@"; do
   case "$1" in