qt5scxml package needs qml-private module which is delivered by
qt5declarative.
Fixes:
  http://autobuild.buildroot.net/results/
9e650f6147f7858be74782806f4b8d2aac4c689a/
Signed-off-by: Bartosz Bilas <b.bilas@grinn-global.com>
[Thomas: add missing dependency on BR2_PACKAGE_QT5_JSCORE_AVAILABLE,
adjust commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 
 config BR2_PACKAGE_QT5SCXML
        bool "qt5scxml"
        depends on BR2_PACKAGE_QT5_VERSION_LATEST
+       depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
        select BR2_PACKAGE_QT5BASE
+       select BR2_PACKAGE_QT5DECLARATIVE
        help
          Qt is a cross-platform application and UI framework for
          developers using C++.
          https://doc.qt.io/qt-5/qtscxml-index.html
 
 comment "qt5scxml needs at least qt-5.9"
+       depends on BR2_PACKAGE_QT5_JSCORE_AVAILABLE
        depends on !BR2_PACKAGE_QT5_VERSION_LATEST