This commit is contained in:
zhuzihcu
2023-06-08 13:55:25 +08:00
parent 11206c1d18
commit 154670f744
18 changed files with 350 additions and 432 deletions

View File

@ -39,7 +39,6 @@ int main(int argc, char *argv[])
FramelessHelper::Quick::registerTypes(&engine);
appInfo->init(&engine);
const QUrl url(QStringLiteral("qrc:/example/qml/App.qml"));
// const QUrl url(QStringLiteral("qrc:/example/qml/TestWindow.qml"));
QObject::connect(&engine, &QQmlApplicationEngine::objectCreated,
&app, [url](QObject *obj, const QUrl &objUrl) {
if (!obj && url == objUrl)