mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2024-11-30 23:16:53 +08:00
19 lines
331 B
C++
19 lines
331 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include <QQmlApplicationEngine>
|
|
|
|
#include "singleton.h"
|
|
#include "stdafx.h"
|
|
|
|
class AppInfo : public QObject {
|
|
Q_OBJECT
|
|
Q_PROPERTY_AUTO(QString, version)
|
|
private:
|
|
explicit AppInfo(QObject *parent = nullptr);
|
|
|
|
public:
|
|
SINGLETON(AppInfo)
|
|
[[maybe_unused]] Q_INVOKABLE void testCrash();
|
|
};
|