Penguin Subtitle Player is a Qt5 project.
git clone --recurse-submodules https://github.com/carsonip/Penguin-Subtitle-Player
or
git clone https://github.com/carsonip/Penguin-Subtitle-Player
cd Penguin-Subtitle-Player
git submodule update --init --recursive
Use one of the following ways:
- Download Qt with Qt Creator here
- Open the .pro file in Qt Creator
- Click on "Build"
- Download Qt (without Qt Creator) here
- Run qmake
qmake PenguinSubtitlePlayer.pro
- Build from the makefile generated by qmake
- G++, Clang:
make
- MSVC:
nmake
- You should see the executable under
build/debug
orbuild/release
To deploy a static build, build Qt statically and run qmake "CONFIG+=static" PenguinSubtitlePlayer.pro
.
This project uses ClangFormat version 7 or higher.
To format the code in this project, run:
find . -path "./src/uchardet" -prune -o \( -name '*.h' -o -name '*.cpp' \) -print | xargs clang-format -i -style=file
- uchardet: Encoding detector
Check here for deployment details.
- Run
qmake "CONFIG+=test" PenguinSubtitlePlayer.pro
- Build from the makefile
- Run the executable
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D