Merge pull request #2250 from chaserhkj/fix

Fixed a build error on 64-bit linux.
Fixed a build error of qt interface on Linux