Hi Christian,

On Tue, May 14, 2019 at 12:26:05AM +0900, Christian Metscher wrote:
> There is one thing I'd like to confirm.
> Why is the native in "qt5-qmake:native" needed? Would it be okay to remove it?

The :native is crucial. It determines for which architecture the
dependency is resolved. By default, all Build-Depends are resolved for
the host architecture and :native requests build architecture
resolution. As long as build equals host, there's no difference, but
lrelease always runs the build architecture qmake. Missing the build
architecture qmake yields:

WARNING: Could not find qmake configuration file linux-g++.
lrelease error: cannot process project file 'qprogram-starter.pro'.

See http://crossqa.debian.net/src/shutdown-qapps. After emitting the
message, lrelease exists successfully, which arguably is a Debian policy
section 4.6 violation.

Helmut

Reply via email to