Skip to content

Commit

Permalink
fix arch test fail for some Qt versions
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Sep 24, 2013
1 parent af0ccdf commit f31beac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions root.pri
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 65,9 @@ defineTest(testArch) {
ARCH=
ARCH_SUB=
for(v, V) {
v=$$replace(v, "", ) # "ARCH=x86". can not evalate with ". why \" may fail? eval("expr")
greaterThan(QT_MAJOR_VERSION, 4):eval("$$v")
else:eval("\"$$v\"")
# "ARCH=x86". can not evalate with ". why \" may fail? eval("expr")
v=$$replace(v, \", )
eval("$$v")
}
export(ARCH)
export(ARCH_SUB)
Expand Down

0 comments on commit f31beac

Please sign in to comment.