FluentUI/example/src/AppInfo.cpp
2024-01-04 18:00:44 +08:00

18 lines
307 B
C++

#include "AppInfo.h"
#include <QQmlContext>
#include <QDebug>
#include <QGuiApplication>
#include "Version.h"
AppInfo::AppInfo(QObject *parent)
: QObject{parent}
{
version(APPLICATION_VERSION);
}
void AppInfo::testCrash(){
auto *crash = reinterpret_cast<volatile int *>(0);
*crash = 0;
}