Browse Source

Merge #9574: [depends] Fix QT build on OSX

c36ec71 depends: qt: disable printer for all platforms, not just osx (Cory Fields)
0.14
Wladimir J. van der Laan 8 years ago
parent
commit
5ac668759d
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      depends/packages/qt.mk
  2. 1
      depends/patches/qt/mac-qmake.conf

2
depends/packages/qt.mk

@ -78,6 +78,8 @@ $(package)_config_opts += -reduce-exports
$(package)_config_opts += -static $(package)_config_opts += -static
$(package)_config_opts += -silent $(package)_config_opts += -silent
$(package)_config_opts += -v $(package)_config_opts += -v
$(package)_config_opts += -no-feature-printer
$(package)_config_opts += -no-feature-printdialog
ifneq ($(build_os),darwin) ifneq ($(build_os),darwin)
$(package)_config_opts_darwin = -xplatform macx-clang-linux $(package)_config_opts_darwin = -xplatform macx-clang-linux

1
depends/patches/qt/mac-qmake.conf

@ -1,6 +1,5 @@
MAKEFILE_GENERATOR = UNIX MAKEFILE_GENERATOR = UNIX
CONFIG += app_bundle incremental global_init_link_order lib_version_first plugin_no_soname absolute_library_soname CONFIG += app_bundle incremental global_init_link_order lib_version_first plugin_no_soname absolute_library_soname
DEFINES += QT_NO_PRINTER QT_NO_PRINTDIALOG
QMAKE_INCREMENTAL_STYLE = sublib QMAKE_INCREMENTAL_STYLE = sublib
include(../common/macx.conf) include(../common/macx.conf)
include(../common/gcc-base-mac.conf) include(../common/gcc-base-mac.conf)

Loading…
Cancel
Save