just as addicional information I created a new project (with only a button that opens the FileDialog) and if I add the "LIBS" to my pro file it doesn't work, if I take it it works again.
I also tried some variations like take some parameters and try to change others but still no success.