Fixed a build error of qt interface on Linux
Merge pull request #2254 from chaserhkj/fix

Fixed a build error of qt interface on Linux