Skip to content

Commit 9531a0f

Browse files
authored
Merge branch 'master' into loadUi-layout-fix
2 parents 4e43f77 + cb4f3e7 commit 9531a0f

File tree

13 files changed

+968
-24
lines changed

13 files changed

+968
-24
lines changed

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,24 @@
11
matrix:
22
include:
33

4+
# VFX Platform 2018
5+
- os: linux
6+
env:
7+
- VFXPLATFORM=2018
8+
- PYTHON=2.7
9+
- os: linux
10+
env:
11+
- VFXPLATFORM=2018
12+
- PYTHON=3.4
13+
- os: linux
14+
env:
15+
- VFXPLATFORM=2018
16+
- PYTHON=3.5
17+
- os: linux
18+
env:
19+
- VFXPLATFORM=2018
20+
- PYTHON=3.6
21+
422
# VFX Platform 2017
523
- os: linux
624
env:

CAVEATS.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,10 @@ True
321321

322322
`QtCompat.wrapInstance` differs across `sip` and `shiboken` in subtle ways.
323323

324+
**Note**: This is not included on our tests, as we cannot reproduce this using PySide2 (build commit date `2017-08-25`), CY2018. It's likely that this issue persists in e.g. Maya version < 2018.
325+
324326
```python
325-
# PySide2
327+
# PySide2, untested
326328
>>> from Qt import QtCompat, QtWidgets
327329
>>> app = QtWidgets.QApplication(sys.argv)
328330
>>> button = QtWidgets.QPushButton("Hello world")

DOCKER.md

Lines changed: 43 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ The Docker images follow the [VFX Reference Platform specifications](http://www.
3636

3737
**Software versions**
3838

39-
We use source code from around the time of [SIGGRAPH](http://www.siggraph.org) (usually July/August) each year. This is usually when the VFX Reference Platform is updated.
39+
We create new Docker containers when the VFX Reference Platform is updated; around the time of [SIGGRAPH](http://www.siggraph.org) (usually July/August) each year.
4040

41-
In order to be able to re-build our images from a certain point in time, we checkout specific commit SHAs or source archives rather than going for the always-latest version of software. We then set up new images as required and add them to our continous integration tests.
41+
We abide the software versions stipulated by the VFX Platform reference. But for other software required by Qt.py, we checkout specific commit SHAs or source archives rather than going for the always-latest version of software. This also helps to re-build Docker images later, if needed.
4242

4343
There are non-strict rules (guidelines) for choosing software versions to build:
4444

@@ -50,6 +50,7 @@ Other noteworthy things:
5050
- PySide cannot be built with anything newer than Python 3.4.
5151
- SIP is used by both PyQt4 and PyQt5 and its version must therefore be chosen carefully.
5252
- PySide2 does not have a maintained `__version__` string as of Qt.py v1.1.0.b3.
53+
- All Qt bindings and Qt itself are built using their respective 5.6.x branch.
5354

5455
<br>
5556
<br>
@@ -64,6 +65,46 @@ If there happens to be an update inbetween VFX Platform specifications, a revisi
6465
<br>
6566

6667

68+
**Enter the container**
69+
70+
For debugging reasons, you can enter the container like this:
71+
72+
```bash
73+
docker run --rm --interactive --tty --entrypoint=bash fredrikaverpil/qt.py:2017
74+
```
75+
76+
You can then run `python2.7`, `python3.4`, `python3.5`, `python3.6` and so on (depending on which Python versions were built).
77+
78+
<br>
79+
<br>
80+
81+
82+
**Dockerfile.vfxplatform2018**
83+
84+
| Software | Date | Details |
85+
| -------- | ---- | --------------- |
86+
| PySide2 | 2017-08-24 | [commit](http://code.qt.io/cgit/pyside/pyside-setup.git/commit/?h=5.6&id=117e0ff91275b4bc06dd5383f19e7028c5ef6ff8) |
87+
| PySide | 2015-10-15 | [commit](https://github.com/pyside/pyside-setup/commit/7860bda363438e96fa9e810def0858635a9766cc) |
88+
| SIP | 2016-07-25 | [v4.18.1](https://sourceforge.net/projects/pyqt/files/sip/) |
89+
| PyQt5 | 2016-04-25 | [v5.6](https://sourceforge.net/projects/pyqt/files/PyQt5/) |
90+
| PyQt4 | 2015-08-01 | [v4.11.4](https://sourceforge.net/projects/pyqt/files/PyQt4/) |
91+
| Python 2.7 | 2015-12-05 | [v2.7.11](https://www.python.org/downloads/source/) |
92+
| Python 3.4 | 2017-08-09 | [v3.4.7](https://www.python.org/downloads/source/) |
93+
| Python 3.5 | 2017-08-08 | [v3.5.4](https://www.python.org/downloads/source/) |
94+
| Python 3.6 | 2017-07-17 | [v3.6.2](https://www.python.org/downloads/source/) |
95+
| Qt5 | 2016-06-16 | [commit](http://code.qt.io/cgit/qt/qt5.git/commit/?h=5.6&id=4566f0ac50e5ea143943c1251028fb01c70289ce) |
96+
| Adsk Qt5 `qtbase` | 2017-06-07 | [commit](https://github.com/autodesk-forks/qtbase/commit/c4e51d0162f7619c83e25e623ecd3bc549932040) |
97+
| Adsk Qt5 `qtx11extras` | 2017-02-24 | [commit](https://github.com/autodesk-forks/qtx11extras/commit/c6c59d5d902db8be3661cab929be85a38fda0faa) |
98+
| Qt5 Creator | 2017-08-09 | [commit](http://code.qt.io/cgit/qt-creator/qt-creator.git/commit/?h=4.3&id=a094841bdda5461ebeaeab4620dde8222fa8312d) |
99+
| Qt4 | 2015-10-23 | [commit](http://code.qt.io/cgit/qt/qt.git/commit/?id=0a2f2382541424726168804be2c90b91381608c6) |
100+
| cmake | 2017-07-18 | [v3.9.0](https://cmake.org/files/) |
101+
| glibc | 2012 (installed via yum) | 2.17 |
102+
| gcc | 2015 (installed via devtoolset-4) | [v5.3.1] |
103+
104+
<br>
105+
<br>
106+
107+
67108
**Dockerfile.vfxplatform2017**
68109

69110
| Software | Date | Details |

Dockerfile.vfxplatform2017

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,9 @@ ENV LD_LIBRARY_PATH="/usr/local/Qt-${QT5_VER}/lib:${LD_LIBRARY_PATH}"
703703
# http://www.torkwrench.com/2011/12/16/d-bus-library-appears-to-be-incorrectly-set-up-failed-to-read-machine-uuid-failed-to-open-varlibdbusmachine-id/
704704
RUN dbus-uuidgen > /var/lib/dbus/machine-id
705705

706+
# VFX Platform
707+
ENV VFXPLATFORM 2017
708+
706709
# Enable additional output from Qt.py
707710
ENV QT_VERBOSE true
708711
ENV QT_TESTING true

0 commit comments

Comments
 (0)