1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-09-15 06:52:34 +02:00
ScreenPlay/README.md

16 lines
1.7 KiB
Markdown
Raw Normal View History

2017-03-25 18:56:22 +01:00
# Requirements
2017-05-20 12:20:19 +02:00
- [Download and install msys2 x86_x64] (http://www.msys2.org/)
2017-05-21 15:00:40 +02:00
- Start msys2
- Run: ``` pacman -Syu ``` then restart terminal
2017-05-19 20:23:59 +02:00
- Run: ``` pacman -Su ```
2017-05-19 20:41:09 +02:00
- Run: ``` pacman -S mingw64/mingw-w64-x86_64-gdb mingw64/mingw-w64-x86_64-qt5 mingw64/mingw-w64-x86_64-qt-creator mingw64/mingw-w64-x86_64-quazip mingw64/mingw-w64-x86_64-zlib mingw64/mingw-w64-x86_64-cmake mingw64/mingw-w64-x86_64-gcc mingw64/mingw-w64-x86_64-ffmpeg ```
2017-05-20 12:20:19 +02:00
- [QtAV for video encoding via git submodule] (https://github.com/wang-bin/QtAV)
2017-05-21 17:33:36 +02:00
- Open QtAV project in ScreenPlay\ThirdParty\QtAV\QtAV.pro via QtCreator and copile (Click on Build->Make->Details use -j16 as make argument to use more cores)
- Fix 3 dll names in the build folder \lib_win_x86\ via changing *.dll.a to *.a | Bug: https://github.com/wang-bin/QtAV/issues/878
2017-04-29 11:35:09 +02:00
- After compiling dont forget to copy QtVA via QtAV_buildDir/sdk_install.bat
2017-04-29 11:36:05 +02:00
2017-04-29 11:35:09 +02:00
# Release
2017-05-20 12:20:19 +02:00
- Compile QtAV (plus copy the created dlls via QtAV_buildDir/sdk_install.bat) and Screenplay as release version
- Auto copy dependencies via windeployqt.exe --release --qmldir **/qml-dir-location** **/exe-location**
2017-05-20 20:29:18 +02:00
- Example : **"C:\msys64\mingw64\bin\windeployqt.exe"** --release --qmldir **"C:\Users\Eli\Code\Qt\ScreenPlay\qml"** **"C:\Users\Eli\Code\Qt\build-ScreenPlay-Desktop_Qt_MinGW_w64_64bit_MSYS2-Release\release\ScreenPlay.exe"**
- Extra step: Copy ``` zlib1.dll libbz2-1.dll libfreetype-6.dll libgcc_s_seh-1.dll libglib-2.0-0.dll libgraphite2.dll libharfbuzz-0.dll libiconv-2.dll libicudt57.dll libicuin57.dll libicuuc57.dll libintl-8.dll libpcre-1.dll libpcre16-0.dll libpng16-16.dll libpng16-config libpng-config libstdc++-6.dll libwinpthread-1.dll libjpeg-8.dll``` from **C:\msys64\mingw64\bin** into the release folder!