Rpm package install problem

Hi Everyone,
I cross-compiled my own program on centos. After that package the output with rpmbuild. You can see file tree at the following lines. But when I want to install it to yocto build image on device, It gives an error like this. But libQt5Positioning.so.5 is on the device. What is the problem?

[email protected]:~# dnf install obu-fs-1.el7.cortexa9hf_neon.rpm
 Problem: conflicting requests
  - nothing provides libQt5Positioning.so.5 needed by obu-fs-1.el7.cortexa9hf_neon

[email protected]:~$ rpm2cpio ./obu-fs-1.el7.cortexa9hf_neon.rpm | cpio -idmv
2366 blocks

Answer from reddit:

You do not have system rpm that provide libQt5Positioning.so.5

You have two options

  1. build rpm without requires libQt5Positioning.so.5 by disable rpm autoreq engine.
  2. build libqt rpms

Another way to force install

rpm -ivh --nodeps obu-fs-1.el7.cortexa9hf_neon.rpm


rpm -ivh --force obu-fs-1.el7.cortexa9hf_neon.rpm