From cb26312c0d4b0f896cc883d43236427d9ae8e0cc Mon Sep 17 00:00:00 2001 From: zheng_wenlong Date: Fri, 28 Jun 2019 12:46:58 +0900 Subject: fix bug can not subscribe at first time --- app/main.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'app/main.cpp') diff --git a/app/main.cpp b/app/main.cpp index ab74471..1f422b5 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -24,7 +24,6 @@ #include #include #include -#include "camera.h" #include @@ -55,8 +54,6 @@ int main(int argc, char *argv[]) parser.process(app); QStringList positionalArguments = parser.positionalArguments(); - qmlRegisterType("Camera", 1, 0, "Camera"); - QQmlApplicationEngine engine; QQmlContext *context = engine.rootContext(); QUrl bindingAddress; -- cgit 1.2.3-korg