Skip to content

Commit

Permalink
Append the QMAKE_EXTRA_ARGS to the output instead of overwriting it
Browse files Browse the repository at this point in the history
When QMAKE_* variable assignments were passed to the configure line
they would cause the current contents of the private pro output to be
overwritten. This would cause anything added to it before the QMAKE_*
variable assignments to be parsed to be lost.

Change-Id: Idcb8cad5f07cbb96b4da204384f5618b95b375b0
Reviewed-by: Oswald Buddenhagen <[email protected]>
  • Loading branch information
AndyShawQt committed Aug 25, 2017
1 parent dbaa4de commit ab323c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configure.pri
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ defineTest(qtConfOutput_gccSysroot) {
defineTest(qtConfOutput_qmakeArgs) {
!$${2}: return()

$${currentConfig}.output.privatePro = "!host_build|!cross_compile {"
$${currentConfig}.output.privatePro += "!host_build|!cross_compile {"
for (a, config.input.qmakeArgs) {
$${currentConfig}.output.privatePro += " $$a"
EXTRA_QMAKE_ARGS += $$system_quote($$a)
Expand Down

0 comments on commit ab323c5

Please sign in to comment.