From df68ee791b2e1a57e87236cf5a7014351b9afe9f Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Fri, 21 Jan 2022 13:05:17 +0300 Subject: [PATCH] Packed resources Dynamically load packed resources from a separate file. This reduces amount of main memory required for linking stage. --- ui/style/style_core_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/style/style_core_font.cpp b/ui/style/style_core_font.cpp index 3df73c8a..a33e6814 100644 --- a/ui/style/style_core_font.cpp +++ b/ui/style/style_core_font.cpp @@ -21,7 +21,7 @@ void style_InitFontsResource() { #ifdef Q_OS_MAC // Use resources from the .app bundle on macOS. - base::RegisterBundledResources(u"lib_ui.rcc"_q); + base::RegisterResourceArchive(u"lib_ui.rcc"_q); #else // Q_OS_MAC