Am 20.07.2011 um 01:09 schrieb Pavel Sanda: > Stephan Witt wrote: >> In case of interest >> >> QT_VERSION="4.10.3" sh -c 'v="0x0"; for i in ${QT_VERSION//./ } ; do case $i >> in 10) v=$v"0a" ;; 11) v=$v"0b" ;; 12) v=$v"0c" ;; 13) v=$v"0d" ;; 14) >> v=$v"0e" ;; 15) v=$v"0f" ;; *) v=$v"0"$i ;; esac ; done; echo $v' >> >> prints 0x0040a03 > > how do cmake people solve this in windows? pavel
This is not for cmake. It's a possible replacement for the construct with bc in src/frontends/qt4/Makefile.am I don't know if add bc as a build requirement is a solution too. Stephan