Compare commits

...

3 Commits

Author SHA1 Message Date
John Bintz
f832228325 qmake is being found, now get the versions 2011-09-09 15:56:24 -04:00
John Bintz
ade490ba14 what is going on? 2011-09-09 15:45:24 -04:00
John Bintz
64046bc308 some output for testing 2011-09-09 15:38:11 -04:00

View File

@ -75,6 +75,7 @@ module Qt
end end
def qt_version_of(qmake_path) def qt_version_of(qmake_path)
$stderr.puts %x{#{qmake_path} -v}
Gem::Version.new(%x{#{qmake_path} -v}.lines.to_a[1][%r{Using Qt version ([^ ]+) },1]) Gem::Version.new(%x{#{qmake_path} -v}.lines.to_a[1][%r{Using Qt version ([^ ]+) },1])
end end