diff options
author | Kacper Kasper <kacperkasper@gmail.com> | 2018-05-05 15:31:52 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2018-05-07 00:21:31 +0200 |
commit | 99614e0a782a15749bdc3781d5319309c8d48b46 (patch) | |
tree | ecb860a2e8686337a5ba8bcc34c2d11d2b80962a /vcl | |
parent | 36847ce41aae7c81ad7ca9d22a7215a640378929 (diff) |
Allow building Qt5 backend on Haiku
Change-Id: I7e928e9e29076bdfaaeffb83791bdc35f1952055
Reviewed-on: https://gerrit.libreoffice.org/53892
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/Library_vcl.mk | 6 | ||||
-rw-r--r-- | vcl/Library_vclplug_qt5.mk | 2 | ||||
-rw-r--r-- | vcl/Module_vcl.mk | 9 |
3 files changed, 16 insertions, 1 deletions
diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk index 2669db6003eb..b69fbfdd96f9 100644 --- a/vcl/Library_vcl.mk +++ b/vcl/Library_vcl.mk @@ -670,6 +670,12 @@ $(eval $(call gb_Library_add_libs,vcl,\ -lbe \ )) +ifeq ($(ENABLE_QT5),TRUE) +$(eval $(call gb_Library_add_exception_objects,vcl,\ + vcl/unx/generic/plugadapt/salplug \ +)) +endif + $(eval $(call gb_Library_use_externals,vcl,\ cairo \ fontconfig \ diff --git a/vcl/Library_vclplug_qt5.mk b/vcl/Library_vclplug_qt5.mk index 68758028d662..2a12414401dc 100644 --- a/vcl/Library_vclplug_qt5.mk +++ b/vcl/Library_vclplug_qt5.mk @@ -33,7 +33,7 @@ $(eval $(call gb_Library_add_defs,vclplug_qt5,\ $(eval $(call gb_Library_use_sdk_api,vclplug_qt5)) $(eval $(call gb_Library_use_libraries,vclplug_qt5,\ - vclplug_gen \ + $(if $(USING_X11),vclplug_gen) \ vcl \ tl \ utl \ diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk index 1082754f607b..3005538a966c 100644 --- a/vcl/Module_vcl.mk +++ b/vcl/Module_vcl.mk @@ -115,6 +115,15 @@ $(eval $(call gb_Module_add_targets,vcl,\ )) endif +ifeq ($(OS),HAIKU) +ifneq ($(ENABLE_QT5),) +$(eval $(call gb_Module_add_targets,vcl,\ + CustomTarget_qt5_moc \ + Library_vclplug_qt5 \ +)) +endif +endif + ifneq ($(ENABLE_FUZZERS),) $(eval $(call gb_Module_add_targets,vcl,\ CustomTarget_nativecore \ |