@Christian-Ehrlicher
Thanks for reply.
After some hours of trying , I finally managed to make a progress, but then got stuck in the linkage stage.
I decided to give up and downgraded to Qt 5.9.7. QOCI plugin compiled out of the box without any problems.