OS: ARCHLINUX
software: QQ轻聊版6.7
wine:wine-1.7.51
安装前缀: env LC_ALL=zh_CN.UTF-8 WINEARCH="win32" WINEPREFIX="/home/simon/.local/share/wineprefixes/QQLight"
安装
设置安装环境为win8.1
$env LC_ALL=zh_CN.UTF-8 WINEARCH=”win32” WINEPREFIX=”/home/simon/.local/share/wineprefixes/QQLight” winecfg
`在弹出窗口中选择安装环境为windows 8.1
安装软件
$env LC_ALL=zh_CN.UTF-8 WINEARCH="win32" WINEPREFIX="/home/simon/.local/share/wineprefixes/QQLight" wine ~/Downloads/QQ6.7Light.exe
安装组建解决不能输入帐号的问题(riched20),避免它修改家目录里的数据(sandbox 实际可以不用,因为限制了就不能在目录外保存文件),解决部分电脑上查找不能使用的问题(wininet)。
$env LC_ALL=zh_CN.UTF-8 WINEARCH="win32" WINEPREFIX="/home/simon/.local/share/wineprefixes/QQLight" winetricks riched20 wininet sandbox
创建菜单项
`$cat ~/.local/share/applications/QQ.desktop
[Desktop Entry]
Name=QQ轻聊6.7
Exec=env LC_ALL=zh_CN.UTF-8 WINEPREFIX=”/home/simon/.local/share/wineprefixes/QQLight” wine C:\\windows\\command\\start.exe /Unix /home/simon/.local/share/wineprefixes/QQLight/dosdevices/c:/Program/Tencent/QQ6.7L/Bin/QQ.exe
Type=Application
StartupNotify=true
Terminal=false
Path=/home/simon/.local/share/wineprefixes/QQLight/dosdevices/c:/Program/Tencent/QQ/QQProtect/Bin
Icon=D67E_QQProtect.0
Categories=Network;InstantMessaging;
GenericName=QQ聊天软件的轻聊版
Comment=Chat over IM.
至此QQ已经能正常使用,我这里安装QQ时选择的是c:/Program目录而不是c:/Program Files目录,如果选择目录不同,请自行更改。
另可以将TXPlatform.exe(重命名或者删除)
实测安装QQ7.5Light.exe时不能重命名TXPlatform.exe,会被QQ检测到文件更改从而停止QQ。
目前所遇到问题
- QQ表情不可用,会自动隐藏
- QQ 截图不可用,QQ截图点击后不会自动到聊天对话框里,但可以保存到其他地方。
- 查找功能不可用,点击查找可能会卡死