Fix Qt interface compilation
Merge pull request #599 from mikusp/master

Fix Qt interface compilation