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:
parent
9c0b719a49
commit
428cbeae4c
4 changed files with 5 additions and 1 deletions
1
external/CMakeLists.txt
vendored
1
external/CMakeLists.txt
vendored
|
@ -11,6 +11,7 @@ find_package(Corrosion REQUIRED)
|
||||||
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml
|
corrosion_import_crate(MANIFEST_PATH ${CMAKE_CURRENT_SOURCE_DIR}/libphysis/Cargo.toml
|
||||||
NO_DEFAULT_FEATURES
|
NO_DEFAULT_FEATURES
|
||||||
FEATURES game_install)
|
FEATURES game_install)
|
||||||
|
add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/libphysis/logger)
|
||||||
|
|
||||||
find_package(PkgConfig REQUIRED)
|
find_package(PkgConfig REQUIRED)
|
||||||
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
|
pkg_check_modules(UNSHIELD REQUIRED IMPORTED_TARGET libunshield)
|
||||||
|
|
2
external/libphysis
vendored
2
external/libphysis
vendored
|
@ -1 +1 @@
|
||||||
Subproject commit 6992aff3c2898349b9b17b9682364280c90ed8a9
|
Subproject commit 5a5234d4c0b288caf80dfdfa07612f1a38d16532
|
|
@ -124,6 +124,7 @@ target_include_directories(astra PRIVATE include ${CMAKE_BINARY_DIR})
|
||||||
target_link_libraries(astra PRIVATE
|
target_link_libraries(astra PRIVATE
|
||||||
astra_static
|
astra_static
|
||||||
physis
|
physis
|
||||||
|
physis-logger
|
||||||
cotp
|
cotp
|
||||||
QuaZip::QuaZip
|
QuaZip::QuaZip
|
||||||
Qt6Keychain::Qt6Keychain
|
Qt6Keychain::Qt6Keychain
|
||||||
|
|
|
@ -16,11 +16,13 @@
|
||||||
#include "gameinstaller.h"
|
#include "gameinstaller.h"
|
||||||
#include "launchercore.h"
|
#include "launchercore.h"
|
||||||
#include "logger.h"
|
#include "logger.h"
|
||||||
|
#include "physis_logger.h"
|
||||||
#include "sapphirelauncher.h"
|
#include "sapphirelauncher.h"
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
initializeLogging();
|
initializeLogging();
|
||||||
|
setup_physis_logging();
|
||||||
|
|
||||||
QtWebView::initialize();
|
QtWebView::initialize();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue