libargus with QT error

Hello. I want to use libargus with QT. I have created simple QT project(default project in qtcreator) and added to it libargus. When I include libargus to main.cpp main function all is ok. And when i include it to mainwindow.h I have build error. What is wrong?

I’m not really looking at QT myself, but what error do you get? This is more of a QT question and probably doesn’t care that this is on a TX1, but someone might be able to answer if you provide some log of the error and slightly before the error.

I have solved my problem. It was conflict in types declaration