mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-05 17:06:49 +02:00
code review feedback
This commit is contained in:
parent
320095f765
commit
764b6a9adf
2 changed files with 1 additions and 5 deletions
|
@ -1,3 +0,0 @@
|
|||
mkdir C:\Users\ajthy\Documents\animedit\bin
|
||||
copy C:\Users\ajthy\Documents\build-animedit-Desktop_Qt_5_12_3_MSVC2015_64bit-Release\release\animedit.exe C:\Users\ajthy\Documents\animedit\bin
|
||||
C:\Qt\5.12.3\msvc2015_64\bin\windeployqt.exe -qmldir C:\Users\ajthy\Documents\animedit\qml C:\Users\ajthy\Documents\animedit\bin\animedit.exe
|
|
@ -26,9 +26,8 @@ int main(int argc, char *argv[])
|
|||
const QUrl url(QStringLiteral("qrc:/qml/main.qml"));
|
||||
QObject::connect(&engine, &QQmlApplicationEngine::objectCreated, &app, [url](QObject *obj, const QUrl &objUrl) {
|
||||
if (!obj && url == objUrl) {
|
||||
// failure loading main.qml
|
||||
QCoreApplication::exit(-1);
|
||||
} else {
|
||||
;
|
||||
}
|
||||
}, Qt::QueuedConnection);
|
||||
engine.load(url);
|
||||
|
|
Loading…
Reference in a new issue