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