1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-23 03:02:30 +01:00
Go to file
2017-10-24 20:38:17 +02:00
assets Add new filedropper 2017-10-05 10:32:17 +02:00
debug Add MonitorSelection 2017-07-11 22:25:12 +02:00
qml Change gradient from page to main.qml to speed up page switch visuals 2017-10-24 20:38:17 +02:00
src Very big code cleanup to match the naming convention. Change projectfile comparison from a id to a path so we can have multiple projects with the same name in different dirs for later features 2017-10-24 15:02:46 +02:00
ThirdParty Add maybe missing dlls 2017-07-14 15:00:16 +02:00
.gitignore ignore debug build files 2017-05-21 19:10:55 +02:00
.gitmodules Remove no longer used QJsonModel 2017-05-21 17:37:04 +02:00
DefaultProfilePackage.json laptop 2017-06-06 12:51:53 +02:00
main.cpp Fix namespace collision and add localsavepath 2017-10-17 10:18:13 +02:00
qml.qrc Add new filedropper 2017-10-05 10:32:17 +02:00
qtquickcontrols2.conf Add new Workshop integration, remove debug messages and add new create style and functionality 2017-10-14 10:42:07 +02:00
README.md Update README.md 2017-05-21 17:33:36 +02:00
ScreenPlay.pro Add qtquickcompiler to speed up ui even more. like 500000% 2017-10-24 20:00:13 +02:00
settings.json Fix settings comment 2017-07-15 11:14:48 +02:00
steam_appid.txt Fix steam id 2017-07-12 21:49:23 +02:00
WinDeploy.sh Rename DeployDlls to WinDeploy.sh and add auto qtdeplox.exe feature 2017-05-21 17:32:40 +02:00

Requirements

  • [Download and install msys2 x86_x64] (http://www.msys2.org/)
    • Start msys2
    • Run: pacman -Syu then restart terminal
    • Run: pacman -Su
    • 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
  • [QtAV for video encoding via git submodule] (https://github.com/wang-bin/QtAV)
    • 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
    • After compiling dont forget to copy QtVA via QtAV_buildDir/sdk_install.bat

Release

  • 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
    • 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!