diff options
author | Be <be@mixxx.org> | 2018-12-19 10:35:03 -0600 |
---|---|---|
committer | Be <be@mixxx.org> | 2018-12-20 10:41:11 -0600 |
commit | dc813cefb924851a8a60418338a544bf5f5ed549 (patch) | |
tree | 4739134b08c1ffa1b43fef0e471da394a8e9b9a1 /build | |
parent | 930ee400f8c2ef2e3915e788110d0379fed15dac (diff) |
give a useful error message when Qt5X11Extras is not installed
Diffstat (limited to 'build')
-rw-r--r-- | build/depends.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/build/depends.py b/build/depends.py index 09ddc94b5e..4c7629caf8 100644 --- a/build/depends.py +++ b/build/depends.py @@ -247,8 +247,6 @@ class Qt(Dependence): ] if qt5: - if build.platform_is_linux: - build.env.Append(LIBS = 'Qt5X11Extras') qt_modules.extend([ # Keep alphabetized. 'QtConcurrent', @@ -310,6 +308,9 @@ class Qt(Dependence): elif not qt5 and not conf.CheckForPKG('QtCore', '4.6'): raise Exception('QT >= 4.6 not found') + if not conf.CheckLib('Qt5X11Extras'): + raise Exception('Could not find Qt5X11Extras or its development headers') + qt_modules.extend(['QtDBus']) # This automatically converts QtXXX to Qt5XXX where appropriate. if qt5: |