Skip to content

Instantly share code, notes, and snippets.

Last active April 4, 2018 01:39
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?

Compile VLC with Qt Intf on macOS

First, export the QTDIR variable, it should contain the path to your Qt 5 directory:


Now, configure VLC:

PATH="${QTDIR}/bin" \
-F${QTDIR}/lib \
-framework QtCore \
-framework QtNetwork \
-framework QtGui \
-framework QtWidgets \
-framework QtSvg" \
${QT_LIBS} \
-I${QTDIR}/lib/QtCore.framework/Versions/5/Headers/ \
-I${QTDIR}/lib/QtNetwork.framework/Versions/5/Headers/ \
-I${QTDIR}/lib/QtGui.framework/Versions/5/Headers/ \
-I${QTDIR}/lib/QtWidgets.framework/Versions/5/Headers/ \
-I${QTDIR}/lib/QtSvg.framework/Versions/5/Headers/" \
../extras/package/macosx/ --disable-nls --enable-qt --host=x86_64-apple-darwin16 --build=x86_64-apple-darwin16 CFLAGS="-g" CXXFLAGS="-g" OBJCFLAGS="-g"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment