[otr] migrate to ver. 4.0.0 (backport from master)
Merge pull request #314 from trett/qt4

[otr] migrate to ver. 4.0.0 (backport from master)