notice_about_modified_qt.txt 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. ## Notice about modified Qt
  2. If you are using Windows version of OpenToonz installed from the installer
  3. provided from OpenToonz website (https://opentoonz.github.io/), Qt libraries
  4. distributed with the software may be our customized version.
  5. The other OS versions (macOS, Linux) are not the case.
  6. ### To check whether the Qt libraries are customized.
  7. - Launch OpenToonz.
  8. - Open Preferences.
  9. - Check if there is a checkbox "Use Qt's Native Windows Ink Support" in the
  10. "Touch / Tablet Settings" category.
  11. If the option exists, Qt libraries are customized version (Qt 5.15.2 with WinTab support).
  12. ----------
  13. ## About Qt 5.15.2 with WinTab support
  14. This version is made based on v5.15.2 with cherry-picking the following commit
  15. to the qtbase module, in order to make it enable to use WinTab API in Qt 5.15.2:
  16. commit id: [4c4693cf964e9d7370c27a26e1d263a262aee568](https://github.com/shun-iwasawa/qtbase/commit/4c4693cf964e9d7370c27a26e1d263a262aee568)
  17. commit title: Windows: Provide a way to switch between WinTab and Windows Ink at run-time
  18. ### Source Code
  19. You can find the source code tree to build this package and track the modification here:
  20. https://github.com/shun-iwasawa/qt5/tree/v5.15.2_wintab
  21. ### Build Configurations
  22. The attached package is built by the following command lines:
  23. ```
  24. > configure -debug-and-release -opensource -confirm-license -prefix ../build -make libs -no-pch -openssl OPENSSL_PREFIX="path\to\OpenSSL-Win64" -opengl dynamic
  25. > jom -j4
  26. > jom module-qtscript -j4
  27. > jom install
  28. ```
  29. ### Dependent Libraries
  30. The attached package is built by using the following libraries / softwares.
  31. - OpenSSL Toolkit 1.1.1j
  32. [Binary package from Shining Light Productions](https://slproweb.com/products/Win32OpenSSL.html)
  33. - Perl
  34. [ActivePerl 5.28](https://www.activestate.com/products/perl/downloads/)
  35. - [Python 2.7.18](https://www.python.org/downloads/release/python-2718/)
  36. - [Ruby 2.7.2-1 (x64)](https://rubyinstaller.org/downloads/)
  37. - ANGLE : already included in the repository.
  38. - Microsoft Visual Studio Community 2019
  39. - [jom](https://wiki.qt.io/Jom)
  40. - ICU : Not used.
  41. #### Reference:
  42. - [Qt for Windows - Requirements](https://doc.qt.io/qt-5/windows-requirements.html)
  43. - [Qt for Windows - Building from Source](https://doc.qt.io/qt-5/windows-building.html)
  44. ----------
  45. March 26, 2021
  46. Shun Iwasawa, OpenToonz team