what do you mean "I want to known that do these can work tegether?"
I have compiled Qt with OCI under windows and SuSE 11 and on both platforms Qt works fine with Oracle 10g.