mirror of
https://github.com/x-tools-author/x-tools.git
synced 2025-09-15 15:28:40 +08:00
26 lines
885 B
C++
26 lines
885 B
C++
/***************************************************************************************************
|
|
* Copyright 2018-2024 Qsaker(qsaker@foxmail.com). All rights reserved.
|
|
*
|
|
* The file is encoded using "utf8 with bom", it is a part of QtSwissArmyKnife project.
|
|
*
|
|
* QtSwissArmyKnife is licensed according to the terms in the file LICENCE in the root of the source
|
|
* code directory.
|
|
**************************************************************************************************/
|
|
#include "sak.h"
|
|
#include "application.h"
|
|
|
|
int main(const int argc, char *argv[])
|
|
{
|
|
QString appName = QString("QtSwissArmyKnife");
|
|
#ifndef SAK_IMPORT_MODULE_PRIVATE
|
|
appName += QObject::tr("(Community)");
|
|
#endif
|
|
sakDoSomethingBeforeAppCreated(argv, appName);
|
|
Application app(argc, argv);
|
|
int ret = Application::exec();
|
|
|
|
sakDoSomethingAfterAppExited();
|
|
|
|
return ret;
|
|
}
|