Skip to content

Deploy SDK Without Building QtAV

WangBin edited this page Jan 29, 2015 · 10 revisions

Since 1.5.0. OSX is supported now.

OSX

  • Download latest player dmg package from sourceforge release or nightly(https://sourceforge.net/projects/qtav/files/nightly)
  • Install player to /Applications
  • Goto QtAV/tools, run ./sdk_osx.sh /Applications/player.app/Contents/Frameworks/QtAV* ~/Qt5.4.0/5.4/clang_64/lib to install QtAV libraries to Qt library dir(here assume your Qt is installed in ~/Qt5.4.0)

Done!

Test Your 1st Program

You can test source code from QtAV examples. For example, simpleplayer.

Change content of QtAV/examples/simpleplayer/simpleplayer.pro to

TEMPLATE = app
CONFIG -= app_bundle
QT += avwidgets av
SOURCES += main.cpp playerwindow.cpp
HEADERS += playerwindow.h

Then open simpleplayer.pro in QtCreator. Choose a right Qt Kit with QtAV installed. Build and run.

TODO

  • Deploy without source code. Only use release package.
  • Debug binaries
  • More platforms
Clone this wiki locally