mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
qt5-build.eclass: make sure we enable the QML debugging support
The code comment was incorrect, the flag *is* used, at least in Qt 5.6 and later. It obviously applies only to qtdeclarative, but for some reason the flag can only be toggled from qtbase's configure... meh. We don't allow turning this functionality off via a USE flag because it would be a mess to implement properly, and its meaning would be rather obscure for most users. It's a small amount of code anyway, and it doesn't require any additional dependencies. The configure already enabled -qml-debug by default, so this commit effectively doesn't change anything in practice.
This commit is contained in:
@@ -547,8 +547,8 @@ qt5_base_configure() {
|
||||
-no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc
|
||||
-no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sql-tds
|
||||
|
||||
# obsolete flag, does nothing
|
||||
#-qml-debug
|
||||
# ensure the QML debugging support (qmltooling) is built in qtdeclarative
|
||||
$([[ ${QT5_MINOR_VERSION} -ge 6 ]] && echo -qml-debug)
|
||||
|
||||
# MIPS DSP instruction set extensions
|
||||
$(is-flagq -mno-dsp && echo -no-mips_dsp)
|
||||
|
||||
Reference in New Issue
Block a user