app-crypt/nitrokey-app: Fix resources build.
authorLuigi 'Comio' Mantellini <luigi.mantellini@gmail.com>
Mon, 16 Apr 2018 08:22:33 +0000 (10:22 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 26 May 2018 09:45:38 +0000 (11:45 +0200)
commit3f35ce0a62d2bc3686a061c912b275fcddffc48b
treee100fc58ca0e70adec4ba77fe741f561b7e1d702
parentcc741eb4377aae1dfd2876d25e508c99886544ab
app-crypt/nitrokey-app: Fix resources build.

We need to remove qt5_add_resources() call from CMakeLists.txt becuase AUTORCC mode is enabled.
Keeping both flags doesn't permit (in some setup) to include the resources into the final executable producing the following log messages:

qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
qt.svg: Cannot open file ':/images/new/icon_NK.svg', because: No such file or directory
...

Also translations will not work because the translation files are included by means resources.

See also https://github.com/Nitrokey/nitrokey-app/pull/346

Closes: https://bugs.gentoo.org/653158
Closes: https://github.com/gentoo/gentoo/pull/8024
app-crypt/nitrokey-app/nitrokey-app-1.3.ebuild
app-crypt/nitrokey-app/nitrokey-app-9999.ebuild