configure the project from QT
QuickTime Player? Even if you meant Qt, how does one configure a project from Qt? Did you mean Qt Creator, perhaps? But then how does Xcode come into play? You configure a project in one IDE and then open it in another IDE?
need to set followings paths
I’d expect that to be set automatically, which is probably what will happen if you use Xcode
generator (Qt Creator configures with Ninja
by default, as I recall, but actually then there would be no Xcode project to be opened in Xcode, so I don’t understand how are you doing this). If not, then I’d try this reply from a different thread.