Skip to content

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

@wubohan2011

Description

@wubohan2011

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions