Browse Source

fixed template [skip ci]

pull/2/head
Skycoder42 7 years ago
parent
commit
2310677fcd
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 3
      ProjectTemplate/app.h
  2. 1
      ProjectTemplate/quick_main.cpp

3
ProjectTemplate/app.h

@ -13,9 +13,6 @@ public:
protected: protected:
void performRegistrations() override; void performRegistrations() override;
int startApp(const QStringList &arguments) override; int startApp(const QStringList &arguments) override;
protected slots:
void aboutToQuit() override;
}; };
#undef coreApp #undef coreApp

1
ProjectTemplate/quick_main.cpp

@ -1,6 +1,7 @@
#include <QtGui/QGuiApplication> #include <QtGui/QGuiApplication>
#include <QtQml/QQmlApplicationEngine> #include <QtQml/QQmlApplicationEngine>
#include <%{AppHdrName}> #include <%{AppHdrName}>
#include <%{VmHdrName}>
QTMVVM_REGISTER_CORE_APP(%{AppCn}) QTMVVM_REGISTER_CORE_APP(%{AppCn})

Loading…
Cancel
Save