FluentUI/example/src/AppInfo.cpp

18 lines
307 B
C++
Raw Normal View History

2023-05-22 16:17:51 +08:00
#include "AppInfo.h"
2023-05-25 17:00:48 +08:00
#include <QQmlContext>
#include <QDebug>
2023-09-17 20:36:33 +08:00
#include <QGuiApplication>
2023-08-10 16:08:27 +08:00
#include "Version.h"
2023-04-14 17:07:54 +08:00
2023-04-11 18:05:07 +08:00
AppInfo::AppInfo(QObject *parent)
: QObject{parent}
{
2023-08-10 16:08:27 +08:00
version(APPLICATION_VERSION);
2023-04-14 17:07:54 +08:00
}
2024-01-04 18:00:44 +08:00
void AppInfo::testCrash(){
auto *crash = reinterpret_cast<volatile int *>(0);
*crash = 0;
}