qt5base: unconditionally install Qt5printSupport if widgets are enabled

The qt5 build system currently unconditionally builds and installs into
staging Qt5PrintSupport if widgets are enabled, so ensure it also gets
installed into target to make sure we don't end up with dynamic linker
errors at runtime:

test: error while loading shared libraries: libQt5PrintSupport.so.5: cannot
open shared object file: No such file or directory

From src.pro:

!contains(QT_CONFIG, no-gui) {
        ..
        !wince*:!winrt {
            SUBDIRS += src_printsupport
            src_plugins.depends += src_printsupport
        }

}

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Peter Korsgaard 2014-11-13 15:45:41 +01:00
parent 54f3f58b2b
commit e07c705e69

View File

@ -209,10 +209,8 @@ config BR2_PACKAGE_QT5BASE_DEFAULT_QPA
different platform at runtime with the -platform option. different platform at runtime with the -platform option.
config BR2_PACKAGE_QT5BASE_PRINTSUPPORT config BR2_PACKAGE_QT5BASE_PRINTSUPPORT
bool "print support module" depends on BR2_PACKAGE_QT5BASE_WIDGETS
select BR2_PACKAGE_QT5BASE_WIDGETS def_bool y
help
This option enables the Qt5PrintSupport
config BR2_PACKAGE_QT5BASE_FONTCONFIG config BR2_PACKAGE_QT5BASE_FONTCONFIG
bool "fontconfig support" bool "fontconfig support"