This software can be built using Visual Studio 2013 and Qt 5.5
$opentoonz
will represent the root for the base repository.git config core.safecrlf true
Because of the size of these libraries, they are not maintained in the git repository. They will have to be installed seperately as follows.
Where is the source code
, navigate to $opentoonz/toonz/sources
Where to build the binaries
, navigate to $opentoonz/toonz/build
- Or to wherever you usually build to.
- If the build directory is in the git repository, be sure to add the directory to .gitignore
- If the build directory is different from the one above, be sure to change to the specified directory where appropriate below.Specify QT_PATH properly
appears, navigate to the QT_DIR
install folder and specify the path to msvc2013_64
.Rename the following files:
- $opentoonz/thirdparty/LibJPEG/jpeg-9/jconfig.vc
→ $opentoonz/thirdparty/LibJPEG/jpeg-9/jconfig.h
- $opentoonz/thirdparty/tiff-4.0.3/libtiff/tif_config.vc.h
→ $opentoonz/thirdparty/tiff-4.0.3/libtiff/tif_config.h
- $opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.vc.h
→ $opentoonz/thirdparty/tiff-4.0.3/libtiff/tiffconf.h
- $opentoonz/thirdparty/libpng-1.6.21/scripts/pnglibconf.h.prebuilt
→ $opentoonz/thirdparty/libpng-1.6.21/pnglibconf.h
$opentoonz/toonz/build/OpenToonz.sln
and change to Release
$opentoonz/toonz/build/Release
$opentoonz/toonz/build/Release
to an appropriate folder.OpenToonz_1.0.exe
, append the Qt program windeployqt.exe
as an argument.
- The necessary Qt library files should be in the same folder as OpenToonz_1.0.exe
OpenToonz_1.0.exe
- $opentoonz/thirdparty/glut/3.7.6/lib/glut64.dll
- $opentoonz/thirdparty/glew/glew-1.9.0/bin/64bit/glew32.dll
srv
folder from the previous OpenToonz installation to the same folder as OpenToonz_1.0.exe
- If there is no srv
folder, OpenToonz can still be used. However, various file formats such as mov
cannot be used.
- Creating the files for srv
is discussed later.If a previous binary of OpenToonz was already installed, this step and the following about creating a registry key has already been dealt with. So feel free to skip these parts.
$opentoonz/stuff
to an appropriate folder.$opentoonz/stuff
folder from above to it.
- HKEY_LOCAL_MACHINE\SOFTWARE\OpenToonz\OpenToonz\1.0\TOONZROOTOpenToonz_1.0.exe
can now be run. Congratulations!
OpenToonz utilizes the QuickTime SDK's mov
and associated file formats. Since the QuickTime SDK only comes in 32-bit versions, the 32-bit file t32bitsrv.exe
from the QuickTime SDK is used in both the 64-bit and 32-bit versions of OpenToonz. As a result, the following instructions apply to both the 32 and 64-bit versions of OpenToonz.
QuickTime 7.3 SDK for Windows.zip
from the following url.
- https://developer.apple.com/downloads/?q=quicktimeC:\Program Files (x86)\QuickTime SDK
to $opentoonz/thirdparty/quicktime/QT73SDK
$opentoonz/toonz/build
→ $opentoonz/toonz/build32
QT_DIR
to the path of your 32-bit version of Qt$opentoonz/toonz/build32/OpenToonz.sln
srv
folder:$opentoonz/toonz/build32/Release
$opentoonz/thirdparty/glut/3.7.6/lib/glut32.dll
Qt translation files are generated first from the source code to .ts files, then from .ts files to a .qm file. These files can be created in Visual Studio if the translation_
project and Build translation_??? only
(translation_???
のみをビルド」) is used. These files are not created in the default Build Project Solution
.