BiliLocal icon indicating copy to clipboard operation
BiliLocal copied to clipboard

自行编译没有中文

Open wufe8 opened this issue 5 years ago • 0 comments

问题

编译后没有中文 右键->Interface->locale 只有English 是要修改什么地方吗? (此外 我可以提交这个二进制版本给你发布吗 提供的百度网盘挂了 而且也没有找到现成的linux版二进制文件)

系统及库信息

QMake version 3.1
Using Qt version 5.15.2 in /opt/Qt/5.15.2/gcc_64/lib
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
OS: Ubuntu 20.04.1 LTS
DE: GNOME
ffmpeg相关lib为官网下载的源代码
其他缺失lib由apt官方源安装

代码变更

修改:     src/APlayer.cpp

因编译报错实参过多而修改

@@ -393,7 +393,8 @@ void VPlayer::setTime(qint64 _time)
                        time.lock();
                        qApp->processEvents();
                        emit jumped(_time);
-                       libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()));
+            //libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()), true);
+            libvlc_media_player_set_time(mp,qBound<qint64>(0,_time,getDuration()));
                        time.unlock();
                }

wufe8 avatar Nov 25 '20 15:11 wufe8