2020-06-30 17:04:26 +00:00
|
|
|
#include <myx/core/config.hpp>
|
2019-11-25 12:08:34 +00:00
|
|
|
|
2019-10-08 20:58:42 +00:00
|
|
|
#include <myx/filesystem/paths.hpp>
|
2019-10-04 09:48:12 +00:00
|
|
|
|
2019-11-25 12:08:34 +00:00
|
|
|
#include <QCoreApplication>
|
2020-04-09 06:34:55 +00:00
|
|
|
#include <QDebug>
|
2019-11-25 12:08:34 +00:00
|
|
|
|
2020-06-30 17:04:26 +00:00
|
|
|
//NOLINTNEXTLINE
|
2020-04-22 07:17:37 +00:00
|
|
|
#define CMLIB_PROJECT_NAME "myxlib"
|
|
|
|
|
2019-10-04 09:48:12 +00:00
|
|
|
namespace MF = myx::filesystem;
|
|
|
|
|
2020-04-22 07:17:37 +00:00
|
|
|
|
2019-10-04 09:48:12 +00:00
|
|
|
int main( int argc, char** argv )
|
|
|
|
{
|
|
|
|
(void)argc;
|
|
|
|
(void)argv;
|
2020-04-05 14:28:55 +00:00
|
|
|
QCoreApplication::setApplicationName( QStringLiteral( CMLIB_PROJECT_NAME ) );
|
2020-06-03 09:20:59 +00:00
|
|
|
MF::Paths& paths = MF::Paths::instance();
|
2020-04-09 06:45:20 +00:00
|
|
|
|
2021-06-04 13:03:01 +00:00
|
|
|
qDebug() << "prefixDirectory : " << paths.projectDirectory();
|
2020-06-03 09:20:59 +00:00
|
|
|
|
2020-05-15 12:54:31 +00:00
|
|
|
qDebug() << "executableName : " << paths.executableName();
|
|
|
|
qDebug() << "executableFilePath : " << paths.executableFilePath();
|
2021-06-11 05:52:57 +00:00
|
|
|
qDebug() << "executableDirectory : " << paths.executableDirectory() << endl;
|
2020-05-15 12:54:31 +00:00
|
|
|
|
2021-06-11 05:52:57 +00:00
|
|
|
qDebug() << "systemThemeDirectory : " << paths.systemThemeDirectory();
|
2020-05-15 12:54:31 +00:00
|
|
|
qDebug() << "systemConfigDirectory : " << paths.systemConfigDirectory();
|
|
|
|
qDebug() << "systemConstDataDirectory : " << paths.systemConstDataDirectory();
|
|
|
|
qDebug() << "systemVarDataDirectory : " << paths.systemVarDataDirectory();
|
2021-06-11 05:52:57 +00:00
|
|
|
qDebug() << "systemLogDirectory : " << paths.systemLogDirectory() << endl;
|
2020-05-15 12:54:31 +00:00
|
|
|
|
2021-06-11 05:52:57 +00:00
|
|
|
qDebug() << "userThemeDirectory : " << paths.userThemeDirectory();
|
2020-05-15 12:54:31 +00:00
|
|
|
qDebug() << "userConfigDirectory : " << paths.userConfigDirectory();
|
|
|
|
qDebug() << "userConstDataDirectory : " << paths.userConstDataDirectory();
|
|
|
|
qDebug() << "userVarDataDirectory : " << paths.userVarDataDirectory();
|
|
|
|
qDebug() << "userLogDirectory : " << paths.userLogDirectory();
|
2019-10-04 09:48:12 +00:00
|
|
|
|
|
|
|
return( 0 );
|
2020-05-15 17:14:21 +00:00
|
|
|
} // main
|