diff --git a/Formula/qbs.rb b/Formula/qbs.rb index fa5ec20ea6..cccee5e5ed 100644 --- a/Formula/qbs.rb +++ b/Formula/qbs.rb @@ -1,8 +1,8 @@ class Qbs < Formula desc "Build tool for developing projects across multiple platforms." homepage "https://wiki.qt.io/Qbs" - url "https://download.qt.io/official_releases/qbs/1.8.1/qbs-src-1.8.1.tar.gz" - sha256 "3e94460ecbd1ca43974d62a0ecf691d48866049787c465944866baf52d5b16fc" + url "https://download.qt.io/official_releases/qbs/1.9.0/qbs-src-1.9.0.tar.gz" + sha256 "eb1bdedd274ad349442cb6b3938b4b904e7f738881c0689c2b71b620ec714793" head "https://code.qt.io/qt-labs/qbs.git" bottle do @@ -15,8 +15,11 @@ class Qbs < Formula depends_on "qt" def install - system "qmake", "qbs.pro", "-r", "QBS_INSTALL_PREFIX=/" - system "make", "install", "INSTALL_ROOT=#{prefix}" + cd "qbs-src-1.9.0" do + system "qmake", "qbs.pro", "-r", "QBS_INSTALL_PREFIX=/" + system "make", "install", "INSTALL_ROOT=#{prefix}" + prefix.install_metafiles + end end test do