diff --git a/doc/how_to_build_macosx.md b/doc/how_to_build_macosx.md index aebfa5e..1a43b8c 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 (or later, though only 1.55.0 is supported) @@ -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.md index 558294e..2b1ebd1 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.html diff --git a/doc/how_to_build_win.md b/doc/how_to_build_win.md index 7c62b9c..bf513bd 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 repos They 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 - boost 1.55.0 or later is required (tested up to 1.60.0), but the support build is using 1.55.0 exactly. @@ -93,9 +91,9 @@ If a previous binary of OpenToonz was already installed, this step and the follo 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. ### 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 SDK 1. 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.md index c74d48f..cb63fb3 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 SDK 1. Appleの開発者登録をして下記のURLから`QuickTime 7.3 SDK for Windows.zip`をダウンロードします diff --git a/toonz/sources/CMakeLists.txt b/toonz/sources/CMakeLists.txt index f31e455..39b0512 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() @@ -29,7 +29,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/") @@ -38,7 +38,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.cpp index 4774ae9..b2cce3c 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(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);