From 7727ff8d2e9b6cf8e272f30c859190b4ef272133 Mon Sep 17 00:00:00 2001 From: Jeremy Lainé Date: Tue, 24 Apr 2012 12:38:48 +0200 Subject: document qmake options --- README | 10 +++++++++- src/src.pro | 3 --- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README b/README index 9c157060..ad050815 100644 --- a/README +++ b/README @@ -15,9 +15,17 @@ The project uses qmake build system of Qt. Building from the command line: cd -qmake +qmake +You can pass the following arguments to qmake: + + PREFIX= to change the install prefix + QXMPP_LIBRARY_TYPE=staticlib to build a static version of QXmpp + QXMPP_USE_SPEEX=1 to enable speex audio codec + QXMPP_USE_THEORA=1 to enable theora video codec + QXMPP_USE_VPX=1 to enable vpx video codec + Building using Qt Creator: Open the qxmpp.pro file in Qt Creator and hit "Build All" to build all diff --git a/src/src.pro b/src/src.pro index c22bbb3e..8bfe9217 100644 --- a/src/src.pro +++ b/src/src.pro @@ -10,19 +10,16 @@ DEFINES += $$QXMPP_INTERNAL_DEFINES INCLUDEPATH += $$QXMPP_INCLUDEPATH $$QXMPP_INTERNAL_INCLUDES LIBS += $$QXMPP_INTERNAL_LIBS -# To enable support for the Speex audio codec, pass QXMPP_USE_SPEEX=1 to qmake. !isEmpty(QXMPP_USE_SPEEX) { DEFINES += QXMPP_USE_SPEEX LIBS += -lspeex } -# To enable support for the Theora video codec, pass QXMPP_USE_THEORA=1 to qmake. !isEmpty(QXMPP_USE_THEORA) { DEFINES += QXMPP_USE_THEORA LIBS += -ltheoradec -ltheoraenc } -# To enable support for the Vpx video codec, pass QXMPP_USE_VPX=1 to qmake. !isEmpty(QXMPP_USE_VPX) { DEFINES += QXMPP_USE_VPX LIBS += -lvpx -- cgit v1.2.3