OpenToonz - An open-source full-featured 2D animation creation software
C
Upgrade to Qt5.6
Stephen Shkardoon3d9be09db010
diff --git a/doc/how_to_build_macosx.md b/doc/how_to_build_macosx.mdindex 68532df49..ecb0fa8ea 100644--- a/doc/how_to_build_macosx.md+++ b/doc/how_to_build_macosx.md@@ -9,8 +9,8 @@- cmake- Version 3.2.2 confirmed to work.- Qt- - http://download.qt.io/official_releases/qt/5.5/5.5.1/- - qt-opensource-mac-x64-clang-5.5.1.dmg+ - http://download.qt.io/official_releases/qt/5.6/5.6.0/+ - qt-opensource-mac-x64-clang-5.6.0.dmg- boost- http://www.boost.org/users/history/version_1_55_0.html@@ -65,7 +65,7 @@ $ tar xjvf boost_1_55_0.tar.bz2$ cd ../../toonz$ mkdir build$ cd build- CMAKE_PREFIX_PATH=~/Qt5.5.1/5.5/clang_64 cmake ../sources+ CMAKE_PREFIX_PATH=~/Qt5.6.0/5.6/clang_64 cmake ../sources$ make```diff --git a/doc/how_to_build_macosx_ja.md b/doc/how_to_build_macosx_ja.mdindex 558294e52..2b1ebd1a4 100644--- a/doc/how_to_build_macosx_ja.md+++ b/doc/how_to_build_macosx_ja.md@@ -8,8 +8,8 @@- cmake- バージョン 3.2.2 で動作確認済みです。- Qt- - http://download.qt.io/official_releases/qt/5.5/5.5.1/- - qt-opensource-mac-x64-clang-5.5.1.dmg+ - http://download.qt.io/official_releases/qt/5.6/5.6.0/+ - qt-opensource-mac-x64-clang-5.6.0.dmg- boost- http://www.boost.org/users/history/version_1_55_0.htmldiff --git a/doc/how_to_build_win.md b/doc/how_to_build_win.mdindex 5b050fa4b..372916b72 100644--- a/doc/how_to_build_win.md+++ b/doc/how_to_build_win.md@@ -1,12 +1,11 @@# Building on Windows-This software can be built using Visual Studio 2013 and Qt 5.5+This software can be built using Visual Studio 2013 and Qt 5.6## Required Software### Visual Studio Express 2013 for Windows Desktop- https://www.microsoft.com/en-us/download/details.aspx?id=44914-- Since Qt 5.5 does not work with Visual Studio 2015, Visual Studio 2013 must be used.- Make sure that the target platform is "for Windows Desktop" not "for Windows".- Community and Provessional versions of Visual Studio 2013 for Windows Desktop also work.@@ -26,11 +25,10 @@ Because of the size of these libraries, they are not maintained in the git reposThey will have to be installed seperately as follows.### Qt-- http://download.qt.io/official_releases/qt/5.5/5.5.1/+- http://download.qt.io/official_releases/qt/5.6/5.6.0/- Qt is a cross-platform GUI framework.-- This project does not use the latest Qt framework (5.6).- Select the following file from the above link:- - qt-opensource-windows-x86-msvc2013_64-5.5.1.exe+ - qt-opensource-windows-x86-msvc2013_64-5.6.0.exe### boost- http://www.boost.org/users/history/version_1_55_0.html@@ -91,9 +89,9 @@ If a previous binary of OpenToonz was already installed, this step and the folloOpenToonz 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.### Qt-- http://download.qt.io/official_releases/qt/5.5/5.5.1/+- http://download.qt.io/official_releases/qt/5.6/5.6.0/- Find the following file from the above link and install in the appropriate folder.- - qt-opensource-windows-x86-msvc2013-5.5.1.exe+ - qt-opensource-windows-x86-msvc2013-5.6.0.exe### QuickTime SDK1. Sign in using your Apple developer ID and download `QuickTime 7.3 SDK for Windows.zip` from the following url.diff --git a/doc/how_to_build_win_ja.md b/doc/how_to_build_win_ja.mdindex c74d48f71..cb63fb38e 100644--- a/doc/how_to_build_win_ja.md+++ b/doc/how_to_build_win_ja.md@@ -1,12 +1,11 @@# ビルド手順(Windows)-Visual Studio 2013とQt 5.5でビルドできることを確認しています。+Visual Studio 2013とQt 5.6でビルドできることを確認しています。## 必要なソフトウェアの導入### Visual Studio Express 2013 for Windows Desktop- https://www.microsoft.com/ja-jp/download/details.aspx?id=44914-- Qt 5.5がVisual Studio 2015に対応していないため、2013を使う必要があります- Express版はターゲットプラットフォームごとにバージョンが分かれています。「for Windows」ではなく「for Windows Desktop」を使用します- Community版やProfessional版などでも構いません@@ -24,11 +23,11 @@ Visual Studio 2013とQt 5.5でビルドできることを確認していますサイズの大きいライブラリはこのリポジトリには含めていないので、別途インストールする必要があります。### Qt-- http://download.qt.io/official_releases/qt/5.5/5.5.1/+- http://download.qt.io/official_releases/qt/5.6/5.6.0/- クロスプラットフォームのGUIフレームワークです- 現在はQt 5.6には対応していません- 上記のURLから以下のファイルをダウンロードして適当なフォルダにインストールします- - qt-opensource-windows-x86-msvc2013_64-5.5.1.exe+ - qt-opensource-windows-x86-msvc2013_64-5.6.0.exe### boost- http://www.boost.org/users/history/version_1_55_0.html@@ -89,9 +88,9 @@ OpenToonz_1.0.exeを実行して動作すれば成功です。おめでとうごOpenToonzはQuickTime SDKを用いてmov形式などへ対応しています。QuickTime SDKは32ビット版しかないため、`t32bitsrv.exe`という32ビット版の実行可能ファイルにQuickTime SDKを組み込み、64ビット版のOpenToonzは`t32bitsrv.exe`を経由してQuickTime SDKの機能を使用しています。以下の手順では`t32bitsrv.exe`などと合わせて、32ビット版のOpenToonzも生成されます。### Qt-- http://download.qt.io/official_releases/qt/5.5/5.5.1/+- http://download.qt.io/official_releases/qt/5.6/5.6.0/- 上記のURLから以下のファイルをダウンロードして適当なフォルダにインストールします- - qt-opensource-windows-x86-msvc2013-5.5.1.exe+ - qt-opensource-windows-x86-msvc2013-5.6.0.exe### QuickTime SDK1. Appleの開発者登録をして下記のURLから`QuickTime 7.3 SDK for Windows.zip`をダウンロードしますdiff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txtindex 97b0e38b7..2b3be53ae 100644--- a/toonz/sources/CMakeLists.txt+++ b/toonz/sources/CMakeLists.txt@@ -14,7 +14,7 @@ message("Thirdpary Library Search path:" ${THIRDPARTY_LIBS_HINTS})if (WIN32)message("Windows System")- set(QT_PATH "C:/Qt/Qt5.5.1/5.5/msvc2013_64" CACHE PATH "Qt instlattion directory")+ set(QT_PATH "C:/Qt/Qt5.6.0/5.6/msvc2013_64" CACHE PATH "Qt instlattion directory")if(NOT EXISTS ${QT_PATH})message("Specify QT_PATH properly")return()@@ -28,7 +28,7 @@ elseif (APPLE)endif()message("PLATFORM:" ${PLATFORM})if (PLATFORM EQUAL 64)- set(QT_PATH "~/Qt/5.5/clang_64/lib/")+ set(QT_PATH "~/Qt/5.6/clang_64/lib/")set(QT_LIB_PATH ${QT_PATH})set(CMAKE_PREFIX_PATH "${QT_PATH}cmake/")@@ -37,7 +37,7 @@ elseif (APPLE)add_definitions(-DMACOSX -Di386)set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64 -std=c++11 -stdlib=libc++ -fno-implicit-templates")elseif(PLATFORM EQUAL 32)- set(QT_PATH "~/Qt/5.5/clang_32/lib/")+ set(QT_PATH "~/Qt/5.6/clang_32/lib/")set(QT_LIB_PATH ${QT_PATH})set(CMAKE_PREFIX_PATH ${QT_PATH}cmake/)message("CMAKE_PREFIX_PATH:" ${CMAKE_PREFIX_PATH})diff --git a/toonz/sources/toonz/comboviewerpane.cpp b/toonz/sources/toonz/comboviewerpane.cppindex 4774ae9ce..b2cce3c39 100644--- a/toonz/sources/toonz/comboviewerpane.cpp+++ b/toonz/sources/toonz/comboviewerpane.cpp@@ -105,16 +105,6 @@ ComboViewerPanel::ComboViewerPanel(QWidget *parent, Qt::WFlags flags)ImageUtils::FullScreenWidget *fsWidget = new ImageUtils::FullScreenWidget(this);fsWidget->setWidget(m_sceneViewer = new SceneViewer(fsWidget));-#ifdef Q_OS_WIN- // Workaround for QTBUG-48288- // This code should be removed after updating Qt.- // Qt may crash in handling WM_SIZE of m_sceneViewer in splash.finish(&w)- // in main.cpp. To suppress sending WM_SIZE, set window position here.- // WM_SIZE will not be sent if window poistion is not changed.- ::SetWindowPos(reinterpret_cast<HWND>(m_sceneViewer->winId()),- HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE);-#endif-m_vRuler = new Ruler(this, m_sceneViewer, true);m_hRuler = new Ruler(this, m_sceneViewer, false);