mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-23 04:27:45 +00:00
armoury: Use new physis logger
This commit is contained in:
parent
17bf05971b
commit
b891e71923
3 changed files with 11 additions and 3 deletions
|
@ -25,7 +25,9 @@ target_link_libraries(armoury PUBLIC
|
||||||
Qt6::Widgets
|
Qt6::Widgets
|
||||||
Qt6::Concurrent
|
Qt6::Concurrent
|
||||||
magic_enum
|
magic_enum
|
||||||
physis z
|
physis
|
||||||
|
z
|
||||||
|
physis-logger
|
||||||
mdlpart
|
mdlpart
|
||||||
imgui
|
imgui
|
||||||
NovusCommon)
|
NovusCommon)
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#include "aboutdata.h"
|
#include "aboutdata.h"
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
|
#include "physis_logger.h"
|
||||||
#include "settings.h"
|
#include "settings.h"
|
||||||
|
|
||||||
int main(int argc, char* argv[]) {
|
int main(int argc, char* argv[]) {
|
||||||
|
@ -14,7 +15,12 @@ int main(int argc, char* argv[]) {
|
||||||
customizeAboutData(
|
customizeAboutData(
|
||||||
QStringLiteral("armoury"), QStringLiteral("Armoury"), QStringLiteral("Program to view FFXIV gear."));
|
QStringLiteral("armoury"), QStringLiteral("Armoury"), QStringLiteral("Program to view FFXIV gear."));
|
||||||
|
|
||||||
physis_initialize_logging();
|
// Default to a sensible message pattern
|
||||||
|
if (qEnvironmentVariableIsEmpty("QT_MESSAGE_PATTERN")) {
|
||||||
|
qputenv("QT_MESSAGE_PATTERN", "[%{time yyyy-MM-dd h:mm:ss.zzz}] %{if-category}[%{category}] %{endif}[%{type}] %{message}");
|
||||||
|
}
|
||||||
|
|
||||||
|
setup_physis_logging();
|
||||||
|
|
||||||
const QString gameDir{getGameDirectory()};
|
const QString gameDir{getGameDirectory()};
|
||||||
const std::string gameDirStd{gameDir.toStdString()};
|
const std::string gameDirStd{gameDir.toStdString()};
|
||||||
|
|
2
extern/libphysis
vendored
2
extern/libphysis
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 6992aff3c2898349b9b17b9682364280c90ed8a9
|
Subproject commit 5a5234d4c0b288caf80dfdfa07612f1a38d16532
|
Loading…
Add table
Reference in a new issue