summaryrefslogtreecommitdiffstats
path: root/lib/Debian/Debhelper/Buildsystem/qmake6.pm
blob: e2c32946c7e1cfb5ab5bd0c37c355a5c192b8e95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package Debian::Debhelper::Buildsystem::qmake6;

use strict;
use warnings;
use parent qw(Debian::Debhelper::Buildsystem::qmake);
use Debian::Debhelper::Dh_Lib qw(is_cross_compiling dpkg_architecture_value);

sub DESCRIPTION {
	"qmake for QT 6 (*.pro)";
}

sub _qmake {
	if (is_cross_compiling()) {
		return dpkg_architecture_value("DEB_HOST_GNU_TYPE") . '-qmake6';
	}
	return 'qmake6';
}

1