FluentUI/example/src/AppInfo.h
2024-07-04 00:23:00 +08:00

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();
};