Fix Qgpgme build for macos
authorAndre Heinecke <aheinecke@intevation.de>
Wed, 11 Jan 2017 14:52:44 +0000 (15:52 +0100)
committerAndre Heinecke <aheinecke@intevation.de>
Wed, 11 Jan 2017 14:52:44 +0000 (15:52 +0100)
commitefe58fe011f195d98adb4f03b1e1068a26ba287b
tree8dbe7687555eaa3ade34defda4b3479b183580fb
parent2e661b9e1a9b50656a5c9646d7444a98477010c1
Fix Qgpgme build for macos

* lang/qt/src/dn.cpp: Include string.h
(parse_dn_part): Use qstrdup.
* lang/qt/tests/t-support.h (getPassphrase): Use qstrdup.
lang/qt/src/dn.cpp
lang/qt/tests/t-support.h