Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 1480c1/65ba0f6690261f9967daf41ebac711c5 to your computer and use it in GitHub Desktop.
Save 1480c1/65ba0f6690261f9967daf41ebac711c5 to your computer and use it in GitHub Desktop.
qtdeclarative
From fadf33f7214c3478d2d222e5d5ddee176d88520f Mon Sep 17 00:00:00 2001
From: Christopher Degawa <ccom@randomderp.com>
Date: Fri, 25 Sep 2020 00:37:19 +0000
Subject: [PATCH] src/qmltyperegistrar/qmltypes.prf: Build qmltyperegistrar as
static
Signed-off-by: Christopher Degawa <ccom@randomderp.com>
---
src/qmltyperegistrar/qmltypes.prf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qmltyperegistrar/qmltypes.prf b/src/qmltyperegistrar/qmltypes.prf
index 354fa1736f..8d5fd26f7e 100644
--- a/src/qmltyperegistrar/qmltypes.prf
+++ b/src/qmltyperegistrar/qmltypes.prf
@@ -72,7 +72,7 @@ METATYPES_JSON = $${TARGET_BASENAME}_metatypes.json
TYPEREGISTRATIONS = $${TARGET_BASENAME}_qmltyperegistrations$${first(QMAKE_EXT_CPP)}
-qmltyperegistrar_compiler.CONFIG += combine
+qmltyperegistrar_compiler.CONFIG += combine static
qmltyperegistrar_compiler.commands = \
$$QML_TYPEREGISTRAR $$QML_TYPEREGISTRAR_FLAGS -o ${QMAKE_FILE_OUT} ${QMAKE_FILE_IN}
qmltyperegistrar_compiler.input = METATYPES_JSON
--
2.25.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment