1
Fork 0
mirror of https://github.com/redstrate/Astra.git synced 2025-04-22 12:47:44 +00:00

Add Qt logger helper

This commit is contained in:
Joshua Goins 2023-10-10 16:47:26 -04:00
parent 9c0b719a49
commit 428cbeae4c
4 changed files with 5 additions and 1 deletions

View file

@ -11,6 +11,7 @@ find_package(Corrosion REQUIRED)
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml
NO_DEFAULT_FEATURES
FEATURES game_install)
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libphysis/logger)
find_package(PkgConfig REQUIRED)
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)

2
external/libphysis vendored

@ -1 +1 @@
Subproject commit 6992aff3c2898349b9b17b9682364280c90ed8a9
Subproject commit 5a5234d4c0b288caf80dfdfa07612f1a38d16532

View file

@ -124,6 +124,7 @@ target_include_directories(astra PRIVATE include ${CMAKE_BINARY_DIR})
target_link_libraries(astra PRIVATE
astra_static
physis
physis-logger
cotp
QuaZip::QuaZip
Qt6Keychain::Qt6Keychain

View file

@ -16,11 +16,13 @@
#include "gameinstaller.h"
#include "launchercore.h"
#include "logger.h"
#include "physis_logger.h"
#include "sapphirelauncher.h"
int main(int argc, char *argv[])
{
initializeLogging();
setup_physis_logging();
QtWebView::initialize();