hidefuku / AnimeEffects

2D Animation Tool
GNU General Public License v3.0
757 stars 99 forks source link

How to build AnimeEffects? #1

Open hkrn opened 7 years ago

hkrn commented 7 years ago

Is there any instruction to build AnimeEffects? It seems AnimeEffects is built based on qmake so I guessed below build instruction from the .pro file.

# on Linux (maybe same on macOS)
cd AnimeEffects/src
qmake
make
j82dg5 commented 7 years ago

Edit

OS X users can download AnimeEffects.app from here

These steps seems to work.

I installed Qt 5.8.0 via Homwbrew in maxOS Sierra (10.12.4). And I followed 2nd answer in here since qmake did not work.

Note: I use zsh, so I am not sure whether these steps work for other common shells.

(1) Export a PATH to qt

% vi ~/.zshrc

Add a line below

export PATH="/usr/local/Cellar/qt/5.8.0_2/bin:$PATH"

(Change 5.8.0_2 to your qt version)

Then save .zshrc and % source ~/.zshrc

(2) Reconfiguring Xcode

% sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

reference

(3) Modify qdevice.pri

% vi /usr/local/Cellar/qt/5.8.0_2/mkspecs/qdevice.pri

Add this line.

!host_build:QMAKE_MAC_SDK = macosx10.12

(4) Go to src directory

% qmake
% make
hidefuku commented 7 years ago

Hi, hkrn. I build with QtCreator, so I don't know much other methods. However, I didn't do anything special, so I think you can build it with Qt's common approach.

Nanashia commented 7 years ago

Hi All, Just FYI, I could build AnimeEffect on Windows with qmake and nmake.

environment