[vlc-commits] [Git][videolan/vlc][master] meson: fix build on darwin when qt can't be found

Steve Lhomme (@robUx4) gitlab at videolan.org
Fri Apr 24 06:58:54 UTC 2026



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
31af7a67 by nasso at 2026-04-24T06:44:28+00:00
meson: fix build on darwin when qt can't be found

- - - - -


1 changed file:

- modules/gui/qt/meson.build


Changes:

=====================================
modules/gui/qt/meson.build
=====================================
@@ -23,7 +23,7 @@ qt6_dep = dependency('qt6',
 
 # Qt module doesn't provide the framework path to moc executable, so we
 # need to help moc find them. It's needed for QtQml/ module registration.
-if host_machine.system() == 'darwin'
+if host_machine.system() == 'darwin' and qt6_dep.found()
     qt_libdir = qt6_dep.get_variable(pkgconfig: 'libdir', configtool: '-query QT_INSTALL_LIBS')
     qt_extra_flags += '-F' + qt_libdir
 endif



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/31af7a6774c540b6d7d33e3ed7bcb3335c1c6fe7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/31af7a6774c540b6d7d33e3ed7bcb3335c1c6fe7
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list