Skip to content
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

在QT 5.6 下试过可以编译运行但运行中易于崩溃 #6

Open
wubohan2011 opened this issue Apr 3, 2016 · 2 comments
Open

Comments

@wubohan2011
Copy link

1,在http://www.heilqt.com/topic/55d358322530bfb903576acf 上看到连接过来的;在QT 5.6 下试过可以编译运行;运行流畅;
2,在荣耀6上有时会崩溃退出,原因不知道是否PageStackWindow的原因?如果PageStackWindow能更稳定,会是个很不错的开发工具;
3,如果有QT5.6建议界面风格可以试试Flat风格,在main.cpp下修改(QT5.6试过可以用) :

app.setOrganizationName("GDPURJYFS");

app.setApplicationVersion("0.0.1");
//! 请在这里修改
if (qgetenv("QT_QUICK_CONTROLS_STYLE").isEmpty()) {
    qputenv("QT_QUICK_CONTROLS_STYLE", "Flat");
}

//修改结束
QQmlApplicationEngine engine;
//! [2] register qml type

@qyvlik
Copy link
Contributor

qyvlik commented Apr 3, 2016

@wubohan2011 谢谢建议。
其次华为本身对 Qt 的支持不佳,所以容易崩溃。

@wubohan2011
Copy link
Author

在小米(高通的U)上试过也会崩溃。两者启动都没问题,操作运行一段时间崩溃,估计还是内存的问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants