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