forked from Mogara/QSanguosha
-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
编译问题 #125
Comments
原来是 Qt5 的编译问题啊。你说的那个修改方法,与 Qt4.8 兼容么? 不过就你后面的问题确实挺奇怪的,分明是标准的 lua 编译不过。 可能的原因也是 Qt 5 的原因,因为 QSanguosha.pro 调用 Qt 生成 Makefile,决定了其他部分的编译参数。也许用 Qt 5 生成的 Makefile 对其他部分的编译参数不同。 比较靠谱的应该是先用 Qt 4.8 试试,因为目前整个项目都没有做 Qt 5 的兼容,大家都使用 Qt 4.8。 至于什么时候可能考虑切换到 Qt 5,要问项目其他成员了。 |
我试了一下, 用toLatin1() 可以在4.8下编译. |
@jicewarwick toAscii()本来就是Qt为了兼容以前版本所做的函数。 |
@Fsu0413 qt5已不支持使用toAscii |
@YanGuam 我知道…… |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
系统: arch-Linux 64 bit
http://qt-project.org/doc/qt-5.1/qtcore/qstring-obsolete.html#toAscii
影响文件包括:
/src/client/client.h
/src/client/client.cpp
/src/core/jsonutils.h
/src/core/engine.cpp
求解.
The text was updated successfully, but these errors were encountered: