Fix bundling of module for static builds


Without this patch the module is not bundled in static builds correctly
causing 'module "<QtModule>" is not installed' errors in during runtime.

As reference: this happens, because 'QQmlMetaType::isAnyModule(importUri)'
at 'qtdeclarative/src/qml/qml/qqmltypeloader.cpp:1422:' returns 'false',
which indicates that the module was not registered.

Task-number: QTBUG-59559
Change-Id: I37003c4305fbe499c9911ff2aefa35deab832bdf
Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
commitbc89be768bce0f510e807b003d476a2355b676c1
parent0340120d5f7940c9aebfd0f60328805227f8824d
authorJulian Strobl <stroblju@gmail.com>
committerJani Heikkinen <jani.heikkinen@qt.io>
commit timeFri, 5 May 2017 04:51:07 +0000