diff options
Diffstat (limited to 'BuildTools/SCons/Tools')
| -rw-r--r-- | BuildTools/SCons/Tools/qt4.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BuildTools/SCons/Tools/qt4.py b/BuildTools/SCons/Tools/qt4.py index 6c54b1e..6d9285c 100644 --- a/BuildTools/SCons/Tools/qt4.py +++ b/BuildTools/SCons/Tools/qt4.py | |||
| @@ -515,11 +515,11 @@ def enable_modules(self, modules, debug=False, crosscompiling=False, version='4' | |||
| 515 | 515 | ||
| 516 | # Check if Qt is registered at pkg-config | 516 | # Check if Qt is registered at pkg-config |
| 517 | ret = test_conf.TryAction('pkg-config --exists \'%s\'' % modules_str)[0] | 517 | ret = test_conf.TryAction('pkg-config --exists \'%s\'' % modules_str)[0] |
| 518 | if ret != 1: | 518 | if ret != 1: |
| 519 | test_conf.Finish() | 519 | test_conf.Finish() |
| 520 | raise Exception("Qt has not been found using pkg-config.") | 520 | raise Exception('Qt installation is missing packages. The following are required: %s' % modules_str) |
| 521 | return | 521 | return |
| 522 | test_conf.env.ParseConfig("pkg-config --cflags --libs " + modules_str) | 522 | test_conf.env.ParseConfig("pkg-config --cflags --libs " + modules_str) |
| 523 | self.AppendUnique(LIBS=test_conf.env["LIBS"], LIBPATH=test_conf.env["LIBPATH"], CPPPATH=test_conf.env["CPPPATH"]) | 523 | self.AppendUnique(LIBS=test_conf.env["LIBS"], LIBPATH=test_conf.env["LIBPATH"], CPPPATH=test_conf.env["CPPPATH"]) |
| 524 | self["QT4_MOCCPPPATH"] = self["CPPPATH"] | 524 | self["QT4_MOCCPPPATH"] = self["CPPPATH"] |
| 525 | test_conf.Finish() | 525 | test_conf.Finish() |
Swift