├── CONTRIBUTING.md
├── bintray.json
├── README.md
├── Dockerfile-centos7-qt5.6-py2.7
├── Dockerfile-centos6-qt5.6-py3.5
├── Dockerfile-centos6-qt5.6-py3.6
├── Dockerfile-centos7-qt5.6-py3.5
├── Dockerfile-centos7-qt5.6-py3.6
├── Dockerfile-centos6-qt5.6-py2.6
├── Dockerfile-centos6-qt5.6-py2.7
├── Dockerfile-ubuntu14.04-qt5.6-py2.7
├── Dockerfile-ubuntu14.04-qt5.6-py3.4
├── Dockerfile-ubuntu16.04-qt5.6-py2.7
├── Dockerfile-ubuntu16.04-qt5.6-py3.5
├── README_OLD.md
├── QUICKSTART.md
├── WINDOWS.md
├── appveyor.yml
├── homebrew
└── qt5
│ └── 5.6.1-1
│ └── qt5.rb
├── .travis.yml
├── MACOS.md
├── UBUNTU.md
└── CENTOS.md
/CONTRIBUTING.md:
--------------------------------------------------------------------------------
1 | ### Contributing to pyside2-wheels
2 |
3 | Fork this project and create a pull request against the `develop` branch.
4 |
5 | Wheels will be built for each commit you do, but they won't get uploaded to the Bintray [development package](https://bintray.com/fredrikaverpil/pyside2-wheels/development/_latestVersion#files) until the pull request is merged.
6 |
--------------------------------------------------------------------------------
/bintray.json:
--------------------------------------------------------------------------------
1 | {
2 | "package": {
3 | "name": "@PACKAGE_NAME@",
4 | "repo": "pyside2-wheels",
5 | "subject": "fredrikaverpil",
6 | "desc": "@PACKAGE_DESC@",
7 | "website_url": "https://github.com/fredrikaverpil/pyside2-wheels",
8 | "issue_tracker_url": "https://github.com/fredrikaverpil/pyside2-wheels/issues",
9 | "vcs_url": "https://github.com/fredrikaverpil/pyside2-wheels.git",
10 | "github_use_tag_release_notes": true,
11 | "github_release_notes_file": "https://github.com/fredrikaverpil/pyside2-wheels/blob/master/README.md",
12 | "licenses": ["LGPL-2.1"],
13 | "labels": [],
14 | "public_download_numbers": true,
15 | "public_stats": true,
16 | "attributes": []
17 | },
18 |
19 | "version": {
20 | "name": "@VERSION@",
21 | "desc": "",
22 | "released": "@DATE@",
23 | "vcs_tag": "@VERSION@",
24 | "attributes": [],
25 | "gpgSign": false
26 | },
27 |
28 | "files":
29 | [
30 | {
31 | "includePattern": "./(.*\\.whl)",
32 | "uploadPattern": "@UPLOAD_PATH@$1",
33 | "matrixParams": {"override": 1}
34 | }
35 | ],
36 | "publish": true
37 | }
38 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Update! :tada:
2 |
3 | Please see the new repositories for standalone PySide2 wheels:
4 | - [pyside2-windows](https://github.com/fredrikaverpil/pyside2-windows)
5 | - [pyside2-macos](https://github.com/fredrikaverpil/pyside2-macos)
6 | - [pyside2-linux](https://github.com/fredrikaverpil/pyside2-linux)
7 |
8 | # pyside2-wheels
9 |
10 | The aim of the pyside2-wheels project was to build PySide2 wheels on multiple platforms before official, portable wheels were offered by [The Qt Company](https://www.qt.io). The project was abandoned when PySide2 became installable via [`conda`](https://github.com/conda-forge/pyside2-feedstock), making it widely available without having to build PySide2 from source. Shortly thereafter, The Qt Company announced [it is under way](https://bugreports.qt.io/browse/PYSIDE-558) to distribute their own pip-installable and portable wheels. Unfortunately, this still hasn't happened, and the need for standalone wheels still exist, and so I decided to open up three separate new projects (links at the top) to address this.
11 |
12 | The old and abandoned pyside2-wheels project is now archived and will no longer be maintained.
13 | The wheels built for the pyside2-wheels project will be removed once official wheels are published by The Qt Company.
14 |
15 | To access the old README, go [here](README_OLD.md).
16 |
--------------------------------------------------------------------------------
/Dockerfile-centos7-qt5.6-py2.7:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:7
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum groupinstall "Development Tools" -y && \
9 | yum install -y python-libs python-devel python-pip && \
10 | yum install -y libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
11 | yum install -y qt5-qtbase-devel && \
12 | yum install -y --skip-broken qt5*
13 |
14 | # Set working directory
15 | WORKDIR /workdir
16 |
17 | # Install pip packages
18 | RUN pip install wheel
19 |
20 | # Clone PySide2 repository
21 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
22 |
23 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
24 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
25 |
26 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
27 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
28 |
29 | # Verify sed hacks
30 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
31 | RUN cat pyside-setup/setup.py
32 |
33 |
34 | # Build PySide2 wheel
35 | ENTRYPOINT \
36 |
37 | cd pyside-setup && \
38 |
39 | python setup.py \
40 | bdist_wheel \
41 | --ignore-git \
42 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
43 | --cmake=/usr/bin/cmake3 \
44 | --jobs=3
45 |
--------------------------------------------------------------------------------
/Dockerfile-centos6-qt5.6-py3.5:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:6
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum groupinstall "Development Tools" -y && \
9 | yum install -y https://centos6.iuscommunity.org/ius-release.rpm && \
10 | yum update -y && \
11 | yum install -y python35u python35u-libs python35u-devel python35u-pip && \
12 | yum install -y libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Install pip packages
20 | RUN pip3.5 install wheel
21 |
22 | # Clone PySide2 repository
23 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
24 |
25 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
26 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
27 |
28 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
29 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
30 |
31 | # Verify sed hacks
32 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
33 | RUN cat pyside-setup/setup.py
34 |
35 | # Build PySide2 wheel
36 | ENTRYPOINT \
37 |
38 | cd pyside-setup && \
39 |
40 | python3.5 setup.py \
41 | bdist_wheel \
42 | --ignore-git \
43 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
44 | --cmake=/usr/bin/cmake3 \
45 | --jobs=3
46 |
--------------------------------------------------------------------------------
/Dockerfile-centos6-qt5.6-py3.6:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:6
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum groupinstall "Development Tools" -y && \
9 | yum install -y https://centos6.iuscommunity.org/ius-release.rpm && \
10 | yum update -y && \
11 | yum install -y python36u python36u-libs python36u-devel python36u-pip && \
12 | yum install -y libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Install pip packages
20 | RUN pip3.6 install wheel
21 |
22 | # Clone PySide2 repository
23 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
24 |
25 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
26 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
27 |
28 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
29 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
30 |
31 | # Verify sed hacks
32 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
33 | RUN cat pyside-setup/setup.py
34 |
35 | # Build PySide2 wheel
36 | ENTRYPOINT \
37 |
38 | cd pyside-setup && \
39 |
40 | python3.6 setup.py \
41 | bdist_wheel \
42 | --ignore-git \
43 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
44 | --cmake=/usr/bin/cmake3 \
45 | --jobs=3
46 |
--------------------------------------------------------------------------------
/Dockerfile-centos7-qt5.6-py3.5:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:7
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum groupinstall "Development Tools" -y && \
9 | yum install -y https://centos7.iuscommunity.org/ius-release.rpm && \
10 | yum update -y && \
11 | yum install -y python35u python35u-libs python35u-devel python35u-pip && \
12 | yum install -y libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Install pip packages
20 | RUN pip3.5 install wheel
21 |
22 | # Clone PySide2 repository
23 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
24 |
25 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
26 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
27 |
28 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
29 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
30 |
31 | # Verify sed hacks
32 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
33 | RUN cat pyside-setup/setup.py
34 |
35 | # Build PySide2 wheel
36 | ENTRYPOINT \
37 |
38 | cd pyside-setup && \
39 |
40 | python3.5 setup.py \
41 | bdist_wheel \
42 | --ignore-git \
43 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
44 | --cmake=/usr/bin/cmake3 \
45 | --jobs=3
46 |
--------------------------------------------------------------------------------
/Dockerfile-centos7-qt5.6-py3.6:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:7
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum groupinstall "Development Tools" -y && \
9 | yum install -y https://centos7.iuscommunity.org/ius-release.rpm && \
10 | yum update -y && \
11 | yum install -y python36u python36u-libs python36u-devel python36u-pip && \
12 | yum install -y libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Install pip packages
20 | RUN pip3.6 install wheel
21 |
22 | # Clone PySide2 repository
23 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
24 |
25 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
26 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
27 |
28 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
29 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
30 |
31 | # Verify sed hacks
32 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
33 | RUN cat pyside-setup/setup.py
34 |
35 | # Build PySide2 wheel
36 | ENTRYPOINT \
37 |
38 | cd pyside-setup && \
39 |
40 | python3.6 setup.py \
41 | bdist_wheel \
42 | --ignore-git \
43 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
44 | --cmake=/usr/bin/cmake3 \
45 | --jobs=3
46 |
--------------------------------------------------------------------------------
/Dockerfile-centos6-qt5.6-py2.6:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:6
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum install -y centos-release-SCL && \
9 | yum install -y python python-libs python-devel python-pip && \
10 | yum groupinstall "Development Tools" -y && \
11 | # yum install -y python-libs python-devel python-pip && \
12 | yum install -y --skip-broken libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Upgrade pip
20 | RUN pip install --upgrade pip
21 |
22 | # Install pip packages
23 | RUN pip install --upgrade setuptools wheel
24 |
25 | # Clone PySide2 repository
26 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
27 |
28 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
29 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
30 |
31 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
32 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
33 |
34 | # Verify sed hacks
35 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
36 | RUN cat pyside-setup/setup.py
37 |
38 | # Build PySide2 wheel
39 | ENTRYPOINT \
40 |
41 | cd pyside-setup && \
42 |
43 | python setup.py \
44 | bdist_wheel \
45 | --ignore-git \
46 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
47 | --cmake=/usr/bin/cmake3 \
48 | --jobs=3
49 |
--------------------------------------------------------------------------------
/Dockerfile-centos6-qt5.6-py2.7:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM centos:6
5 |
6 | RUN yum install -y epel-release && \
7 | yum install -y deltarpm && \
8 | yum install -y centos-release-SCL && \
9 | yum install -y python27 python27-python-libs python27-python-devel python27-python-pip && \
10 | yum groupinstall "Development Tools" -y && \
11 | # yum install -y python-libs python-devel python-pip && \
12 | yum install -y --skip-broken libxslt libxml2 libxml2-devel libxslt-devel cmake3 openssl && \
13 | yum install -y qt5-qtbase-devel && \
14 | yum install -y --skip-broken qt5*
15 |
16 | # Set working directory
17 | WORKDIR /workdir
18 |
19 | # Verify Python 2.7
20 | RUN LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64/ /opt/rh/python27/root/usr/bin/python2.7 -V
21 |
22 | # Upgrade pip
23 | RUN LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64/ /opt/rh/python27/root/usr/bin/pip2.7 install --upgrade pip
24 |
25 | # Install pip packages
26 | RUN LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64/ /opt/rh/python27/root/usr/bin/pip2.7 install --upgrade wheel
27 |
28 | # Clone PySide2 repository
29 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
30 |
31 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
32 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
33 |
34 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
35 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
36 |
37 | # Verify sed hacks
38 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
39 | RUN cat pyside-setup/setup.py
40 |
41 | # Build PySide2 wheel
42 | ENTRYPOINT \
43 |
44 | cd pyside-setup && \
45 |
46 | LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64/ /opt/rh/python27/root/usr/bin/python2.7 setup.py \
47 | bdist_wheel \
48 | --ignore-git \
49 | --qmake=/usr/lib64/qt5/bin/qmake-qt5 \
50 | --cmake=/usr/bin/cmake3 \
51 | --jobs=3
52 |
--------------------------------------------------------------------------------
/Dockerfile-ubuntu14.04-qt5.6-py2.7:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM ubuntu:14.04
5 |
6 | RUN apt-get update && \
7 | apt-get install -qq -y \
8 | software-properties-common \
9 | python-pip python-dev \
10 | build-essential git libxml2 libxslt1.1 libxml2-dev libxslt1-dev wget mesa-common-dev libglu1-mesa-dev && \
11 | add-apt-repository -y ppa:beineri/opt-qt562-trusty && \
12 | apt-get update && \
13 | apt-get install -qq -y \
14 | qt56-meta-full
15 |
16 | # Environment variables as specified in /opt/qt56/bin/qt56-env.sh
17 | ENV QT_BASE_DIR /opt/qt56
18 | ENV QTDIR $QT_BASE_DIR
19 | ENV PATH $QT_BASE_DIR/bin:$PATH
20 | ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # x86_64
21 | # ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/i386-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # i386
22 | ENV PKG_CONFIG_PATH $QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
23 |
24 | # Set working directory
25 | WORKDIR /workdir
26 |
27 | # Install cmake 3
28 | RUN wget --quiet https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz
29 | RUN tar -xf cmake-3.5.2-Linux-x86_64.tar.gz -C /opt
30 |
31 | # Clone PySide2 repository
32 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
33 |
34 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
35 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
36 |
37 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
38 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
39 |
40 | # Verify sed hacks
41 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
42 | RUN cat pyside-setup/setup.py
43 |
44 | # Build PySide2 wheel
45 | ENTRYPOINT \
46 | cd pyside-setup && \
47 |
48 | python setup.py \
49 | bdist_wheel \
50 | --ignore-git \
51 | --qmake=/opt/qt56/bin/qmake \
52 | --cmake=/opt/cmake-3.5.2-Linux-x86_64/bin/cmake \
53 | --jobs=3
54 |
--------------------------------------------------------------------------------
/Dockerfile-ubuntu14.04-qt5.6-py3.4:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | FROM ubuntu:14.04
5 |
6 | RUN apt-get update && \
7 | apt-get install -qq -y \
8 | software-properties-common \
9 | python3-pip python3-dev \
10 | build-essential git libxml2 libxslt1.1 libxml2-dev libxslt1-dev wget mesa-common-dev libglu1-mesa-dev && \
11 | add-apt-repository -y ppa:beineri/opt-qt562-trusty && \
12 | apt-get update && \
13 | apt-get install -qq -y \
14 | qt56-meta-full
15 |
16 | # Environment variables as specified in /opt/qt56/bin/qt56-env.sh
17 | ENV QT_BASE_DIR /opt/qt56
18 | ENV QTDIR $QT_BASE_DIR
19 | ENV PATH $QT_BASE_DIR/bin:$PATH
20 | ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # x86_64
21 | # ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/i386-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # i386
22 | ENV PKG_CONFIG_PATH $QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
23 |
24 | # Set working directory
25 | WORKDIR /workdir
26 |
27 | # Install cmake 3
28 | RUN wget --quiet https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz
29 | RUN tar -xf cmake-3.5.2-Linux-x86_64.tar.gz -C /opt
30 |
31 | # Clone PySide2 repository
32 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
33 |
34 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
35 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
36 |
37 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
38 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
39 |
40 | # Verify sed hacks
41 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
42 | RUN cat pyside-setup/setup.py
43 |
44 | # Build PySide2 wheel
45 | ENTRYPOINT \
46 | cd pyside-setup && \
47 |
48 | python3 setup.py \
49 | bdist_wheel \
50 | --ignore-git \
51 | --qmake=/opt/qt56/bin/qmake \
52 | --cmake=/opt/cmake-3.5.2-Linux-x86_64/bin/cmake \
53 | --jobs=3
54 |
--------------------------------------------------------------------------------
/Dockerfile-ubuntu16.04-qt5.6-py2.7:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | # Info on the PPA used here: https://launchpad.net/~beineri
5 |
6 | FROM ubuntu:16.04
7 |
8 | RUN apt-get update && apt-get install -y \
9 | python-pip python-dev \
10 | build-essential git cmake libxml2 libxslt1.1 libxml2-dev libxslt1-dev \
11 | mesa-common-dev \
12 | software-properties-common python-software-properties \
13 | wget && \
14 | add-apt-repository ppa:beineri/opt-qt562-xenial && \
15 | apt-get update && \
16 | apt-get install -qq -y \
17 | qt56-meta-full qt56creator
18 |
19 | # Environment variables as specified in /opt/qt56/bin/qt56-env.sh
20 | ENV QT_BASE_DIR /opt/qt56
21 | ENV QTDIR $QT_BASE_DIR
22 | ENV PATH $QT_BASE_DIR/bin:$PATH
23 | ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # x86_64
24 | # ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/i386-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # i386
25 | ENV PKG_CONFIG_PATH $QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
26 |
27 | # Set working directory
28 | WORKDIR /workdir
29 |
30 | # Install cmake 3
31 | RUN wget --quiet https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz
32 | RUN tar -xf cmake-3.5.2-Linux-x86_64.tar.gz -C /opt
33 |
34 | # Clone PySide2 repository
35 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
36 |
37 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
38 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
39 |
40 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
41 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
42 |
43 | # Verify sed hacks
44 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
45 | RUN cat pyside-setup/setup.py
46 |
47 | # Build PySide2 wheel
48 | ENTRYPOINT \
49 | cd pyside-setup && \
50 |
51 | python setup.py \
52 | bdist_wheel \
53 | --ignore-git \
54 | --qmake=/opt/qt56/bin/qmake \
55 | --cmake=/opt/cmake-3.5.2-Linux-x86_64/bin/cmake \
56 | --jobs=3
57 |
--------------------------------------------------------------------------------
/Dockerfile-ubuntu16.04-qt5.6-py3.5:
--------------------------------------------------------------------------------
1 | # Always review the official build instructions before updating:
2 | # https://wiki.qt.io/PySide2_GettingStarted#Building_PySide2
3 |
4 | # Info on the PPA used here: https://launchpad.net/~beineri
5 |
6 | FROM ubuntu:16.04
7 |
8 | RUN apt-get update && apt-get install -y \
9 | python3-pip python3-dev \
10 | build-essential git cmake libxml2 libxslt1.1 libxml2-dev libxslt1-dev \
11 | mesa-common-dev \
12 | software-properties-common python-software-properties \
13 | wget && \
14 | add-apt-repository ppa:beineri/opt-qt562-xenial && \
15 | apt-get update && \
16 | apt-get install -qq -y \
17 | qt56-meta-full qt56creator
18 |
19 | # Environment variables as specified in /opt/qt56/bin/qt56-env.sh
20 | ENV QT_BASE_DIR /opt/qt56
21 | ENV QTDIR $QT_BASE_DIR
22 | ENV PATH $QT_BASE_DIR/bin:$PATH
23 | ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/x86_64-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # x86_64
24 | # ENV LD_LIBRARY_PATH $QT_BASE_DIR/lib/i386-linux-gnu:$QT_BASE_DIR/lib:$LD_LIBRARY_PATH # i386
25 | ENV PKG_CONFIG_PATH $QT_BASE_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
26 |
27 | # Set working directory
28 | WORKDIR /workdir
29 |
30 | # Install cmake 3
31 | RUN wget --quiet https://cmake.org/files/v3.5/cmake-3.5.2-Linux-x86_64.tar.gz
32 | RUN tar -xf cmake-3.5.2-Linux-x86_64.tar.gz -C /opt
33 |
34 | # Clone PySide2 repository
35 | RUN git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup
36 |
37 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
38 | RUN sed -i.bak $'s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\\\nif(Qt5Designer_FOUND)/g' pyside-setup/sources/pyside2/CMakeLists.txt
39 |
40 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
41 | RUN sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" pyside-setup/setup.py
42 |
43 | # Verify sed hacks
44 | RUN cat pyside-setup/sources/pyside2/CMakeLists.txt
45 | RUN cat pyside-setup/setup.py
46 |
47 | # Build PySide2 wheel
48 | ENTRYPOINT \
49 | cd pyside-setup && \
50 |
51 | python3 setup.py \
52 | bdist_wheel \
53 | --ignore-git \
54 | --qmake=/opt/qt56/bin/qmake \
55 | --cmake=/opt/cmake-3.5.2-Linux-x86_64/bin/cmake \
56 | --jobs=3
57 |
--------------------------------------------------------------------------------
/README_OLD.md:
--------------------------------------------------------------------------------
1 | [](https://travis-ci.org/fredrikaverpil/pyside2-wheels) [](https://ci.appveyor.com/project/fredrikaverpil/pyside2-wheels) [  ](https://bintray.com/fredrikaverpil/pyside2-wheels/pyside2/_latestVersion#files)
2 |
3 | # pyside2-wheels
4 |
5 | This project aims to build PySide2 wheels on multiple platforms using Travis-CI and Appveyor.
6 |
7 | :warning: The wheels being produced here are not "portable" or "standalone" and do require Qt5 libraries installed locally.
8 |
9 | :newspaper: The Qt Company [officially supports](https://bugreports.qt.io/browse/PYSIDE-558?focusedCommentId=378913&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-378913) the `--standalone` option, which should create standalone wheels.
10 |
11 | :cake: PySide2 can be easily installed [with `conda`](https://github.com/conda-forge/pyside2-feedstock).
12 |
13 |
14 | ## Quickstart
15 |
16 | Pre-built wheels are available on [Bintray](https://bintray.com/fredrikaverpil/pyside2-wheels/pyside2/_latestVersion#files) and can be installed as long as prerequisites are in place (see [QUICKSTART.md](QUICKSTART.md)).
17 |
18 | * [pyside2-wheels/pyside2](https://bintray.com/fredrikaverpil/pyside2-wheels/pyside2#files) - wheels built from the master branch
19 | * [pyside2-wheels/development](https://bintray.com/fredrikaverpil/pyside2-wheels/development#files) - wheels built from any non-master branch
20 |
21 |
22 | ## Wheel building details
23 |
24 | If you wish to build the wheel yourself or see more details on what's included in the wheels:
25 |
26 | - [CENTOS.md](CENTOS.md)
27 | - [UBUNTU.md](UBUNTU.md)
28 | - [MACOS.md](MACOS.md)
29 | - [WINDOWS.md](WINDOWS.md)
30 |
31 | For more information on building PySide2, see [this guide](https://fredrikaverpil.github.io/2016/08/17/compiling-pyside2/).
32 |
33 |
34 | ## Contributing to this project
35 |
36 | Please see [CONTRIBUTING.md](CONTRIBUTING.md).
37 |
38 |
39 | ## Qt development and bug reporting
40 |
41 | It's possible to follow the development and get in touch with developers. Here's a quick list of useful links for that.
42 |
43 | * [PySide2 wiki](https://wiki.qt.io/PySide2)
44 | * [PySide2 bug tracker](https://bugreports.qt.io/browse/PYSIDE/)
45 | * [PySide2 git repositories](https://codereview.qt-project.org/#/admin/projects/?filter=pyside) - please note, RSS feeds are available
46 | * [PySide2 gitter](https://gitter.im/PySide/pyside2) or #qt-pyside on irc.freenode.net (replaces the former #pyside channel, after PySide moved into Qt)
47 | * [PySide2 mailing list](http://lists.qt-project.org/mailman/listinfo/pyside) - ([archives](http://dir.gmane.org/gmane.comp.lib.qt.pyside))
48 | * [Qt language bindings forum](https://forum.qt.io/category/15/language-bindings)
49 |
--------------------------------------------------------------------------------
/QUICKSTART.md:
--------------------------------------------------------------------------------
1 | ## Quickstart
2 |
3 |
4 | ### Centos 6
5 |
6 | ```bash
7 | # Prerequisites
8 | yum install epel-release centos-release-SCL
9 | yum install --skip-broken qt5*
10 |
11 | # Python 2.6 (possibly already installed)
12 | yum install python-pip
13 | pip install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/centos6/PySide2-5.6-cp26-cp26mu-linux_x86_64.whl
14 |
15 | # Python 2.7
16 | yum install python27 python27-python-pip
17 | export LD_LIBRARY_PATH=/opt/rh/python27/root/usr/lib64/
18 | /opt/rh/python27/root/usr/bin/pip install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/centos6/PySide2-5.6-cp27-cp27mu-linux_x86_64.whl
19 | ```
20 |
21 | ### Centos 7
22 |
23 | ```bash
24 | # Prerequisites
25 | yum install --skip-broken qt5*
26 |
27 | # Python 3.5
28 | yum install https://centos7.iuscommunity.org/ius-release.rpm
29 | yum install python35u python35u-pip
30 | pip3.5 install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/centos7/PySide2-5.6-cp35-cp35m-linux_x86_64.whl
31 |
32 | # Python 2.7 (possibly already installed)
33 | yum install epel-release
34 | yum install python-pip
35 | pip install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/centos7/PySide2-5.6-cp27-cp27mu-linux_x86_64.whl
36 | ```
37 |
38 |
39 | ### Ubuntu 14.04 Trusty
40 |
41 | ```bash
42 | # Prerequisites
43 | apt-get update
44 | apt-get install software-properties-common
45 | add-apt-repository ppa:beineri/opt-qt562-trusty
46 | apt-get update
47 | apt-get install qt56-meta-full
48 | echo . /opt/qt56/bin/qt56-env.sh >> ~/.bashrc
49 | . ~/.bashrc
50 |
51 | # Python 3.4 (possibly already installed)
52 | apt-get install python3-pip
53 | pip3 install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/ubuntu14.04/PySide2-5.6-cp34-cp34m-linux_x86_64.whl
54 |
55 | # Python 2.7
56 | apt-get install python-pip
57 | pip install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/ubuntu14.04/PySide2-5.6-cp27-none-linux_x86_64.whl
58 | ```
59 |
60 |
61 | ### Ubuntu 16.04 Xenial
62 |
63 | ```bash
64 | # Prerequisites
65 | apt-get update
66 | apt-get install software-properties-common
67 | add-apt-repository ppa:beineri/opt-qt562-xenial
68 | apt-get update
69 | apt-get install qt56-meta-full qt56creator
70 | echo . /opt/qt56/bin/qt56-env.sh >> ~/.bashrc
71 | . ~/.bashrc
72 |
73 | # Python 3.5 (possibly already installed)
74 | apt-get install python3-pip
75 | pip3 install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/ubuntu16.04/PySide2-5.6-cp35-cp35m-linux_x86_64.whl
76 |
77 | # Python 2.7
78 | apt-get install python-pip
79 | pip install https://dl.bintray.com/fredrikaverpil/pyside2-wheels/ubuntu16.04/PySide2-5.6-cp27-cp27mu-linux_x86_64.whl
80 | ```
81 |
82 | ### macOS
83 |
84 | To be documented.
85 |
86 |
87 | ### Windows
88 |
89 | Run the following commands in an administrative Powershell console.
90 |
91 | Note: you may have to [change your execution policy](https://technet.microsoft.com/en-us/library/ee176961.aspx) prior to installing. Example:
92 |
93 | ```powershell
94 | Set-ExecutionPolicy Bypass
95 | ```
96 |
97 | Also please note that this will install [Miniconda3](https://conda.io/miniconda.html) and create a conda environment into which PySide2 is installed. Currently, the wheels are not produced from a conda-built Python environment. If issues arise because of this, please open a new issue.
98 |
99 | ```powershell
100 | # Download Miniconda3
101 | $installer_url = "https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe"
102 | $installer_path = "~/Downloads/Miniconda3-latest-Windows-x86_64.exe"
103 | (New-Object System.Net.WebClient).DownloadFile($installer_url, $installer_path)
104 |
105 | # Install Miniconda3
106 | cmd /C start /wait "" $installer_path /InstallationType=JustMe /RegisterPython=0 /S /D=%UserProfile%\Miniconda3
107 |
108 | # Python 3.5 virtual conda environment in ~/condaenvs/pyside2_py35
109 | ~/Miniconda3/Scripts/conda config --add channels conda-forge
110 | ~/Miniconda3/Scripts/conda.exe create --yes --mkdir -p ~/condaenvs/pyside2_py35 python=3.5 qt=5.6
111 | $wheel_url = "https://dl.bintray.com/fredrikaverpil/pyside2-wheels/windows6.3.9600/PySide2-5.6-cp35-cp35m-win_amd64.whl"
112 | ~/condaenvs/pyside2_py35/Scripts/pip.exe install $wheel_url
113 |
114 | # Test the binding
115 | # ~/condaenvs/pyside2_py35/python.exe -c "import sys; from PySide2 import QtWidgets; app = QtWidgets.QApplication(sys.argv); button = QtWidgets.QPushButton('Hello World'); button.show(); app.exec_()"
116 | ```
117 |
--------------------------------------------------------------------------------
/WINDOWS.md:
--------------------------------------------------------------------------------
1 | ### Windows
2 |
3 | Note: No wheels are generated for Python 2.7 since it is built using MSVC9 (Visual Studio 2008) and Qt5 *isn't* built with MSVC9. Mixing MSVC versions is risky as resulting errors can be very hard to solve.
4 |
5 | Download and install:
6 |
7 | * [Microsoft C++ Visual Studio 2015, v14.0](https://www.visualstudio.com/)
8 | * [CMake](https://cmake.org/download) >= v3.0
9 | * [OpenSSL](https://sourceforge.net/projects/openssl)
10 | * Qt5 compiled with MSVC2015 from the [Qt archives](https://download.qt.io/archive/qt/)
11 | * [Python 3.5](https://www.python.org) - which is built using MSVC2015
12 |
13 | Please see [`appveyor.yml`](appveyor.yml) for build commands.
14 |
15 |
16 | **Windows 10, Python 3.5 modules list as of 2017-08-21:**
17 |
18 | ```
19 | -- module Qt5Core found ()
20 | -- module Qt5Gui found (essential)
21 | -- module Qt5Widgets found (essential)
22 | -- module Qt5PrintSupport found (essential)
23 | -- module Qt5Sql found (essential)
24 | -- module Qt5Network found (essential)
25 | -- module Qt5Test found (essential)
26 | -- module Qt5WinExtras found (essential)
27 | -- module Qt5Xml found ()
28 | -- module Qt5XmlPatterns found (opt)
29 | -- module Qt5Help found (opt)
30 | -- module Qt5Multimedia found (opt)
31 | -- module Qt5MultimediaWidgets found (opt)
32 | -- module Qt5OpenGL found (opt)
33 | -- module Qt5Qml found (opt)
34 | -- module Qt5Quick found (opt)
35 | -- module Qt5QuickWidgets found (opt)
36 | -- module Qt5Script found (opt)
37 | -- module Qt5Svg found (opt)
38 | -- module Qt5UiTools found (opt)
39 | -- module Qt5WebChannel found (opt)
40 | -- module Qt5WebEngineWidgets found (opt)
41 | CMake Warning at CMakeLists.txt:212 (find_package):
42 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
43 | has asked CMake to find a package configuration file provided by
44 | "Qt5WebKit", but CMake did not find one.
45 | Could not find a package configuration file provided by "Qt5WebKit" with
46 | any of the following names:
47 | Qt5WebKitConfig.cmake
48 | qt5webkit-config.cmake
49 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
50 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
51 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
52 | been installed.
53 | Call Stack (most recent call first):
54 | CMakeLists.txt:286 (COLLECT_MODULE_IF_FOUND)
55 | -- optional module Qt5WebKit skipped
56 | -- module Qt5WebSockets found (opt)
57 | -- Detected OS: win
58 | -- PySide2 will be generated avoiding the protected hack!
59 | -- Checking for QGtkStyle in QtWidgets -- not found
60 | -- Checking for QMacStyle in QtWidgets -- not found
61 | -- Checking for QSslCertificate in QtNetwork -- found
62 | -- Checking for QSslCipher in QtNetwork -- found
63 | -- Checking for QSslConfiguration in QtNetwork -- found
64 | -- Checking for QSslError in QtNetwork -- found
65 | -- Checking for QSslKey in QtNetwork -- found
66 | -- Checking for QSslSocket in QtNetwork -- found
67 | ```
68 |
69 | **Windows 10, Python 3.6 modules list as of 2017-08-21:**
70 |
71 | ```
72 | -- module Qt5Core found ()
73 | -- module Qt5Gui found (essential)
74 | -- module Qt5Widgets found (essential)
75 | -- module Qt5PrintSupport found (essential)
76 | -- module Qt5Sql found (essential)
77 | -- module Qt5Network found (essential)
78 | -- module Qt5Test found (essential)
79 | -- module Qt5WinExtras found (essential)
80 | -- module Qt5Xml found ()
81 | -- module Qt5XmlPatterns found (opt)
82 | -- module Qt5Help found (opt)
83 | -- module Qt5Multimedia found (opt)
84 | -- module Qt5MultimediaWidgets found (opt)
85 | -- module Qt5OpenGL found (opt)
86 | -- module Qt5Qml found (opt)
87 | -- module Qt5Quick found (opt)
88 | -- module Qt5QuickWidgets found (opt)
89 | -- module Qt5Script found (opt)
90 | -- module Qt5Svg found (opt)
91 | -- module Qt5UiTools found (opt)
92 | -- module Qt5WebChannel found (opt)
93 | -- module Qt5WebEngineWidgets found (opt)
94 | CMake Warning at CMakeLists.txt:212 (find_package):
95 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
96 | has asked CMake to find a package configuration file provided by
97 | "Qt5WebKit", but CMake did not find one.
98 | Could not find a package configuration file provided by "Qt5WebKit" with
99 | any of the following names:
100 | Qt5WebKitConfig.cmake
101 | qt5webkit-config.cmake
102 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
103 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
104 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
105 | been installed.
106 | Call Stack (most recent call first):
107 | CMakeLists.txt:286 (COLLECT_MODULE_IF_FOUND)
108 | -- optional module Qt5WebKit skipped
109 | -- module Qt5WebSockets found (opt)
110 | -- Detected OS: win
111 | -- PySide2 will be generated avoiding the protected hack!
112 | -- Checking for QGtkStyle in QtWidgets -- not found
113 | -- Checking for QMacStyle in QtWidgets -- not found
114 | -- Checking for QSslCertificate in QtNetwork -- found
115 | -- Checking for QSslCipher in QtNetwork -- found
116 | -- Checking for QSslConfiguration in QtNetwork -- found
117 | -- Checking for QSslError in QtNetwork -- found
118 | -- Checking for QSslKey in QtNetwork -- found
119 | -- Checking for QSslSocket in QtNetwork -- found
120 | ```
121 |
--------------------------------------------------------------------------------
/appveyor.yml:
--------------------------------------------------------------------------------
1 | build: false
2 |
3 | # Notes
4 | # Visual Studio versions and architectures: https://msdn.microsoft.com/en-us/library/f2ccy3wt.aspx#Anchor_1
5 |
6 | environment:
7 | # Global variables
8 | CMAKE: "C:\\Program Files (x86)\\cmake\\bin\\cmake.exe"
9 |
10 | matrix:
11 |
12 | # Qt 5.6, Python 3.5 32-bit, MSVC2015 (v14)
13 | - PYTHON: "C:\\Python35"
14 | QT: "C:\\Qt\\5.6\\msvc2015"
15 | PYSIDE_BRANCH: "5.6"
16 | OPENSSL: "C:\\OpenSSL-Win32\\bin"
17 | VS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"
18 | ARCH: x86
19 | os: Visual Studio 2015
20 | platform: x86
21 | fast_finish: true
22 |
23 | # Qt 5.6, Python 3.5 64-bit, MSVC2015 (v14)
24 | - PYTHON: "C:\\Python35-x64"
25 | QT: "C:\\Qt\\5.6\\msvc2015_64"
26 | PYSIDE_BRANCH: "5.6"
27 | OPENSSL: "C:\\OpenSSL-Win64\\bin"
28 | VS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"
29 | ARCH: amd64
30 | os: Visual Studio 2015
31 | platform: x64
32 | fast_finish: true
33 |
34 | # Qt 5.6, Python 3.6 32-bit, MSVC2015 (v14)
35 | - PYTHON: "C:\\Python36"
36 | QT: "C:\\Qt\\5.6\\msvc2015"
37 | PYSIDE_BRANCH: "5.6"
38 | OPENSSL: "C:\\OpenSSL-Win32\\bin"
39 | VS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"
40 | ARCH: x86
41 | os: Visual Studio 2015
42 | platform: x86
43 | fast_finish: true
44 |
45 | # Qt 5.6, Python 3.6 64-bit, MSVC2015 (v14)
46 | - PYTHON: "C:\\Python36-x64"
47 | QT: "C:\\Qt\\5.6\\msvc2015_64"
48 | PYSIDE_BRANCH: "5.6"
49 | OPENSSL: "C:\\OpenSSL-Win64\\bin"
50 | VS: "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat"
51 | ARCH: amd64
52 | os: Visual Studio 2015
53 | platform: x64
54 | fast_finish: true
55 |
56 | init:
57 | - "ECHO %PYTHON%"
58 | - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
59 | - python -c "import sys; x = sys.version; print(x)"
60 | - git clone --recursive --branch %PYSIDE_BRANCH% https://codereview.qt-project.org/pyside/pyside-setup C:\pyside-setup
61 | - if defined VS call "%VS%" %ARCH%
62 |
63 | - choco install --yes gnuwin32-sed.install
64 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-552
65 | - sed -i -e "s/if(Qt5Designer_FOUND)/find_package(Qt5Designer)\nif(Qt5Designer_FOUND)/g" C:/pyside-setup/sources/pyside2/CMakeLists.txt
66 | # Fix bug https://bugreports.qt.io/browse/PYSIDE-357
67 | - sed -i -e "s~\b\(packages\b.*\)],~\1, 'pyside2uic.Compiler', 'pyside2uic.port_v' + str(sys.version_info[0])],~" C:/pyside-setup/setup.py
68 | # Verify sed hacks
69 | - type C:\pyside-setup\sources\pyside2\CMakeLists.txt
70 | - type C:\pyside-setup\setup.py
71 |
72 |
73 | install:
74 | - if [%PYSIDE_BRANCH%]==[5.6] (echo "No need to install libclang")
75 | - if [%PYSIDE_BRANCH%]==[5.9] (echo "To do; Install libclang")
76 |
77 | before_build:
78 | - pip install wheel
79 |
80 | build_script:
81 | - python C:\pyside-setup\setup.py bdist_wheel --ignore-git --qmake="%QT%\bin\qmake.exe" --openssl="%OPENSSL" --cmake="%CMAKE%"
82 |
83 | test_script:
84 | - dir C:\pyside-setup\dist\*.whl
85 |
86 | after_build:
87 | # Date
88 | - ps: $DEPLOY_DATE = (Get-Date).ToString("yyyy-MM-dd")
89 | - ps: (Get-Content bintray.json).replace('@DATE@', $DEPLOY_DATE) | Set-Content bintray.json
90 | - ps: echo $DEPLOY_DATE
91 | # Version
92 | - ps: $env:PYSIDE_VERSION = (((Get-Content C:\pyside-setup\setup.py | %{ if ($_.Split('=')[0] -match "^__version__") { $_; } }) -replace "__version__ = ", "") -replace '"', "")
93 | - ps: (Get-Content bintray.json).replace('@VERSION@', $env:PYSIDE_VERSION) | Set-Content bintray.json
94 | - ps: echo $env:PYSIDE_VERSION
95 | # Package name
96 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -eq "master") {$env:PYSIDE_PACKAGE_NAME = "pyside2"}
97 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -ne "master") {$env:PYSIDE_PACKAGE_NAME = "development"}
98 | - ps: (Get-Content bintray.json).replace('@PACKAGE_NAME@', $env:PYSIDE_PACKAGE_NAME) | Set-Content bintray.json
99 | - ps: echo $env:PYSIDE_PACKAGE_NAME
100 | # Package description
101 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -eq "master") {$PACKAGE_DESC = "PySide2 wheels"}
102 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -ne "master") {$PACKAGE_DESC = "PySide2 wheels from development branches and pull requests"}
103 | - ps: (Get-Content bintray.json).replace('@PACKAGE_DESC@', $PACKAGE_DESC) | Set-Content bintray.json
104 | - ps: echo $PACKAGE_DESC
105 | # Upload folder
106 | - ps: $WINDOWS_VERSION = (Get-CimInstance Win32_OperatingSystem).Version
107 | - ps: $APPVEYOR_BRANCH_REPLACED = ($Env:APPVEYOR_REPO_BRANCH).Replace(" ","_").Replace("/","_")
108 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -eq "master") {$UPLOAD_PATH = "windows" + $WINDOWS_VERSION + "/"}
109 | - ps: if ($Env:APPVEYOR_REPO_BRANCH -ne "master") {$UPLOAD_PATH = $APPVEYOR_BRANCH_REPLACED + "/" + "windows" + $WINDOWS_VERSION + "/"}
110 | - ps: (Get-Content bintray.json).replace('@UPLOAD_PATH@', $UPLOAD_PATH) | Set-Content bintray.json
111 | - ps: echo $UPLOAD_PATH
112 | # Prepare deployment
113 | - ps: mkdir deploy
114 | - ps: mkdir $UPLOAD_PATH
115 | - ps: cp C:\pyside-setup\dist\*.whl $UPLOAD_PATH
116 | - ps: pwd
117 | - ps: 7z a archive.zip $UPLOAD_PATH
118 | - ps: cp archive.zip deploy
119 | - ps: 7z l deploy\archive.zip
120 | - ps: dir deploy
121 |
122 | artifacts:
123 | - path: deploy\*.zip
124 | name: mypackage
125 |
126 | deploy:
127 | - provider: BinTray
128 | username: fredrikaverpil
129 | subject: fredrikaverpil
130 | api_key:
131 | # api key from https://bintray.com/profile/edit
132 | # encrypted in https://ci.appveyor.com/tools/encrypt
133 | secure: Sz8G/LSGSF2lKWGErmmU+DXQrzwWhpYyKJqDRTXl/UikPUt0oiN6lAii6qJIMSLi
134 | repo: pyside2-wheels
135 | package: $(PYSIDE_PACKAGE_NAME)
136 | version: $(PYSIDE_VERSION)
137 | artifact: mypackage
138 | publish: true
139 | override: true
140 | explode: true
141 |
142 |
--------------------------------------------------------------------------------
/homebrew/qt5/5.6.1-1/qt5.rb:
--------------------------------------------------------------------------------
1 | class OracleHomeVarRequirement < Requirement
2 | fatal true
3 | satisfy(:build_env => false) { ENV["ORACLE_HOME"] }
4 |
5 | def message; <<-EOS.undent
6 | To use --with-oci you have to set the ORACLE_HOME environment variable.
7 | Check Oracle Instant Client documentation for more information.
8 | EOS
9 | end
10 | end
11 |
12 | # Patches for Qt5 must be at the very least submitted to Qt's Gerrit codereview
13 | # rather than their bug-report Jira. The latter is rarely reviewed by Qt.
14 | class Qt5 < Formula
15 | desc "Version 5 of the Qt framework"
16 | homepage "https://www.qt.io/"
17 | url "https://download.qt.io/official_releases/qt/5.6/5.6.1-1/single/qt-everywhere-opensource-src-5.6.1-1.tar.xz"
18 | mirror "https://www.mirrorservice.org/sites/download.qt-project.org/official_releases/qt/5.6/5.6.1-1/single/qt-everywhere-opensource-src-5.6.1-1.tar.xz"
19 | sha256 "ce08a7eb54661705f55fb283d895a089b267c688fabe017062bd71b9231736db"
20 |
21 | head "https://code.qt.io/qt/qt5.git", :branch => "5.6", :shallow => false
22 |
23 | bottle do
24 | sha256 "2aaa410f2ab2fbbddbc8c3438e43bc9f4271774c794bcae8f935fb6b1b5a82ed" => :sierra
25 | sha256 "2aaa410f2ab2fbbddbc8c3438e43bc9f4271774c794bcae8f935fb6b1b5a82ed" => :el_capitan
26 | sha256 "eefa531c6ebc757982b31f17935fa2220aad52caf3112e389a878dce04f40490" => :yosemite
27 | sha256 "73d33dd2563c39542844c276a7bd43463f2974fde141e7afeb3057168adbe606" => :mavericks
28 | end
29 |
30 | # Restore `.pc` files for framework-based build of Qt 5 on OS X. This
31 | # partially reverts merged
32 | # between the 5.5.1 and 5.6.0 releases. (Remove this as soon as feasible!)
33 | #
34 | # Core formulae known to fail without this patch (as of 2016-03-17):
35 | # * mkvtoolnix (with `--with-qt5` option, silent build failure)
36 | # * poppler (with `--with-qt5` option)
37 | # * wireshark (with `--with-qt5` option)
38 | patch do
39 | url "https://raw.githubusercontent.com/Homebrew/formula-patches/e8fe6567/qt5/restore-pc-files.patch"
40 | sha256 "48ff18be2f4050de7288bddbae7f47e949512ac4bcd126c2f504be2ac701158b"
41 | end
42 |
43 | # Fix build error due to missing Mac QtBase widget example targets, detected
44 | # by logic introduced in and
45 | # corrected in .
46 | # Should land in either 5.6.2 and/or 5.7.1.
47 | patch do
48 | url "https://raw.githubusercontent.com/Homebrew/formula-patches/6ffd0e250d374193613a51beda8830dda9b67e56/qt5/QTBUG-54110.patch"
49 | sha256 "2cf77b820f46f0c404284882b4a4a97bf005b680062842cdc53e107a821deeda"
50 | end
51 |
52 | keg_only "Qt 5 conflicts Qt 4"
53 |
54 | option "with-docs", "Build documentation"
55 | option "with-examples", "Build examples"
56 | option "with-oci", "Build with Oracle OCI plugin"
57 | option "with-qtwebkit", "Build with QtWebkit module"
58 | option "without-webengine", "Build without QtWebEngine module"
59 |
60 | deprecated_option "qtdbus" => "with-dbus"
61 | deprecated_option "with-d-bus" => "with-dbus"
62 |
63 | # OS X 10.7 Lion is still supported in Qt 5.5, but is no longer a reference
64 | # configuration and thus untested in practice. Builds on OS X 10.7 have been
65 | # reported to fail: .
66 | depends_on :macos => :mountain_lion
67 |
68 | depends_on "dbus" => :optional
69 | depends_on :mysql => :optional
70 | depends_on :postgresql => :optional
71 | depends_on :xcode => :build
72 |
73 | depends_on OracleHomeVarRequirement if build.with? "oci"
74 |
75 | resource "qt-webkit" do
76 | # http://lists.qt-project.org/pipermail/development/2016-March/025358.html
77 | url "https://download.qt.io/community_releases/5.6/5.6.1/qtwebkit-opensource-src-5.6.1.tar.gz"
78 | sha256 "f5ba5afc5846fc755575dd04081a90a9536f920e312f18f6fb1f5a0c33f477b0"
79 | end
80 |
81 | def install
82 | args = %W[
83 | -verbose
84 | -prefix #{prefix}
85 | -release
86 | -opensource -confirm-license
87 | -system-zlib
88 | -qt-libpng
89 | -qt-libjpeg
90 | -qt-freetype
91 | -qt-pcre
92 | -nomake tests
93 | -no-rpath
94 | ]
95 |
96 | args << "-nomake" << "examples" if build.without? "examples"
97 |
98 | args << "-plugin-sql-mysql" if build.with? "mysql"
99 | args << "-plugin-sql-psql" if build.with? "postgresql"
100 |
101 | if build.with? "dbus"
102 | dbus_opt = Formula["dbus"].opt_prefix
103 | args << "-I#{dbus_opt}/lib/dbus-1.0/include"
104 | args << "-I#{dbus_opt}/include/dbus-1.0"
105 | args << "-L#{dbus_opt}/lib"
106 | args << "-ldbus-1"
107 | args << "-dbus-linked"
108 | else
109 | args << "-no-dbus"
110 | end
111 |
112 | if build.with? "oci"
113 | args << "-I#{ENV["ORACLE_HOME"]}/sdk/include"
114 | args << "-L#{ENV["ORACLE_HOME"]}"
115 | args << "-plugin-sql-oci"
116 | end
117 |
118 | args << "-skip" << "qtwebengine" if build.without? "webengine"
119 |
120 | if build.with? "qtwebkit"
121 | (buildpath/"qtwebkit").install resource("qt-webkit")
122 | inreplace ".gitmodules", /.*status = obsolete\n((\s*)project = WebKit\.pro)/, "\\1\n\\2initrepo = true"
123 | end
124 |
125 | system "./configure", *args
126 | system "make"
127 | ENV.j1
128 | system "make", "install"
129 |
130 | if build.with? "docs"
131 | system "make", "docs"
132 | system "make", "install_docs"
133 | end
134 |
135 | # Some config scripts will only find Qt in a "Frameworks" folder
136 | frameworks.install_symlink Dir["#{lib}/*.framework"]
137 |
138 | # The pkg-config files installed suggest that headers can be found in the
139 | # `include` directory. Make this so by creating symlinks from `include` to
140 | # the Frameworks' Headers folders.
141 | Pathname.glob("#{lib}/*.framework/Headers") do |path|
142 | include.install_symlink path => path.parent.basename(".framework")
143 | end
144 |
145 | # configure saved PKG_CONFIG_LIBDIR set up by superenv; remove it
146 | # see: https://github.com/Homebrew/homebrew/issues/27184
147 | inreplace prefix/"mkspecs/qconfig.pri",
148 | /\n# pkgconfig\n(PKG_CONFIG_(SYSROOT_DIR|LIBDIR) = .*\n){2}\n/,
149 | "\n"
150 |
151 | # Move `*.app` bundles into `libexec` to expose them to `brew linkapps` and
152 | # because we don't like having them in `bin`. Also add a `-qt5` suffix to
153 | # avoid conflict with the `*.app` bundles provided by the `qt` formula.
154 | # (Note: This move/rename breaks invocation of Assistant via the Help menu
155 | # of both Designer and Linguist as that relies on Assistant being in `bin`.)
156 | libexec.mkpath
157 | Pathname.glob("#{bin}/*.app") do |app|
158 | mv app, libexec/"#{app.basename(".app")}-qt5.app"
159 | end
160 | end
161 |
162 | def post_install
163 | # Upstream "configure and mkspecs: Don't try to find xcrun with xcrun"
164 | # https://code.qt.io/cgit/qt/qtbase.git/patch/?id=77a71c32c9d19b87f79b208929e71282e8d8b5d9
165 | inreplace prefix/"mkspecs/features/mac/default_pre.prf",
166 | "xcrun -find xcrun", "xcrun -find xcodebuild"
167 | end
168 |
169 | def caveats; <<-EOS.undent
170 | We agreed to the Qt opensource license for you.
171 | If this is unacceptable you should uninstall.
172 | EOS
173 | end
174 |
175 | test do
176 | (testpath/"hello.pro").write <<-EOS.undent
177 | QT += core
178 | QT -= gui
179 | TARGET = hello
180 | CONFIG += console
181 | CONFIG -= app_bundle
182 | TEMPLATE = app
183 | SOURCES += main.cpp
184 | EOS
185 |
186 | (testpath/"main.cpp").write <<-EOS.undent
187 | #include
188 | #include
189 |
190 | int main(int argc, char *argv[])
191 | {
192 | QCoreApplication a(argc, argv);
193 | qDebug() << "Hello World!";
194 | return 0;
195 | }
196 | EOS
197 |
198 | system bin/"qmake", testpath/"hello.pro"
199 | system "make"
200 | assert File.exist?("hello")
201 | assert File.exist?("main.o")
202 | system "./hello"
203 | end
204 | end
--------------------------------------------------------------------------------
/.travis.yml:
--------------------------------------------------------------------------------
1 | matrix:
2 | include:
3 |
4 | # CentOS 6, Qt 5.6, Python 2.6
5 | - os: linux
6 | dist: trusty
7 | sudo: required
8 | language: python
9 | services:
10 | - docker
11 | env:
12 | - DOCKER_OS=centos6
13 | - QT_VER=5.6
14 | - PY_VER=2.6
15 |
16 | # CentOS 6, Qt 5.6, Python 2.7
17 | - os: linux
18 | dist: trusty
19 | sudo: required
20 | language: python
21 | services:
22 | - docker
23 | env:
24 | - DOCKER_OS=centos6
25 | - QT_VER=5.6
26 | - PY_VER=2.7
27 |
28 | # CentOS 6, Qt 5.6, Python 3.5
29 | - os: linux
30 | dist: trusty
31 | sudo: required
32 | language: python
33 | services:
34 | - docker
35 | env:
36 | - DOCKER_OS=centos6
37 | - QT_VER=5.6
38 | - PY_VER=3.5
39 |
40 | # CentOS 6, Qt 5.6, Python 3.6
41 | - os: linux
42 | dist: trusty
43 | sudo: required
44 | language: python
45 | services:
46 | - docker
47 | env:
48 | - DOCKER_OS=centos6
49 | - QT_VER=5.6
50 | - PY_VER=3.6
51 |
52 | # CentOS 7, Qt 5.6, Python 2.7
53 | - os: linux
54 | dist: trusty
55 | sudo: required
56 | language: python
57 | services:
58 | - docker
59 | env:
60 | - DOCKER_OS=centos7
61 | - QT_VER=5.6
62 | - PY_VER=2.7
63 |
64 | # CentOS 7, Qt 5.6, Python 3.5
65 | - os: linux
66 | dist: trusty
67 | sudo: required
68 | language: python
69 | services:
70 | - docker
71 | env:
72 | - DOCKER_OS=centos7
73 | - QT_VER=5.6
74 | - PY_VER=3.5
75 |
76 | # CentOS 7, Qt 5.6, Python 3.6
77 | - os: linux
78 | dist: trusty
79 | sudo: required
80 | language: python
81 | services:
82 | - docker
83 | env:
84 | - DOCKER_OS=centos7
85 | - QT_VER=5.6
86 | - PY_VER=3.6
87 |
88 | # Ubuntu 14.04, Qt 5.6, Python 2.7
89 | - os: linux
90 | dist: trusty
91 | sudo: required
92 | language: python
93 | services:
94 | - docker
95 | env:
96 | - DOCKER_OS=ubuntu14.04
97 | - QT_VER=5.6
98 | - PY_VER=2.7
99 |
100 | # Ubuntu 14.04, Qt 5.6, Python 3.4
101 | - os: linux
102 | dist: trusty
103 | sudo: required
104 | language: python
105 | services:
106 | - docker
107 | env:
108 | - DOCKER_OS=ubuntu14.04
109 | - QT_VER=5.6
110 | - PY_VER=3.4
111 |
112 | # # Ubuntu 14.04, Qt 5.6, Python 3.5
113 | # - os: linux
114 | # dist: trusty
115 | # sudo: required
116 | # language: python
117 | # services:
118 | # - docker
119 | # env:
120 | # - DOCKER_OS=ubuntu14.04
121 | # - QT_VER=5.6
122 | # - PY_VER=3.5
123 |
124 | # # Ubuntu 14.04, Qt 5.6, Python 3.6
125 | # - os: linux
126 | # dist: trusty
127 | # sudo: required
128 | # language: python
129 | # services:
130 | # - docker
131 | # env:
132 | # - DOCKER_OS=ubuntu14.04
133 | # - QT_VER=5.6
134 | # - PY_VER=3.6
135 |
136 | # Ubuntu 16.04, Qt 5.6, Python 2.7
137 | - os: linux
138 | dist: trusty
139 | sudo: required
140 | language: python
141 | services:
142 | - docker
143 | env:
144 | - DOCKER_OS=ubuntu16.04
145 | - QT_VER=5.6
146 | - PY_VER=2.7
147 |
148 | # Ubuntu 16.04, Qt 5.6, Python 3.5
149 | - os: linux
150 | dist: trusty
151 | sudo: required
152 | language: python
153 | services:
154 | - docker
155 | env:
156 | - DOCKER_OS=ubuntu16.04
157 | - QT_VER=5.6
158 | - PY_VER=3.5
159 |
160 | # # Ubuntu 16.04, Qt 5.6, Python 3.6
161 | # - os: linux
162 | # dist: trusty
163 | # sudo: required
164 | # language: python
165 | # services:
166 | # - docker
167 | # env:
168 | # - DOCKER_OS=ubuntu16.04
169 | # - QT_VER=5.6
170 | # - PY_VER=3.6
171 |
172 | # OS X 10.10, Xcode 6.4, Qt 5.6, Python 2.7 (pip missing)
173 | - os: osx
174 | osx_image: xcode6.4
175 | language: generic
176 | cache:
177 | pip: true
178 | # directories:
179 | # - $HOME/Library/Caches/Homebrew
180 | env:
181 | - RVM_CERT_FIX=1
182 | - QT_VER=5.6
183 | - PY_VER=2.7
184 |
185 | # OS X 10.10, Xcode 6.4, Qt 5.6, Python 3.5
186 | - os: osx
187 | osx_image: xcode6.4
188 | language: generic
189 | cache:
190 | pip: true
191 | # directories:
192 | # - $HOME/Library/Caches/Homebrew
193 | env:
194 | - RVM_CERT_FIX=1
195 | - QT_VER=5.6
196 | - PY_VER=3.5
197 |
198 | # OS X 10.10, Xcode 6.4, Qt 5.6, Python 3.6
199 | - os: osx
200 | osx_image: xcode6.4
201 | language: generic
202 | cache:
203 | pip: true
204 | # directories:
205 | # - $HOME/Library/Caches/Homebrew
206 | env:
207 | - RVM_CERT_FIX=1
208 | - QT_VER=5.6
209 | - PY_VER=3.6
210 |
211 |
212 | before_install:
213 | - pwd
214 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y tree ; fi
215 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install tree ; fi
216 | - tree
217 |
218 | install:
219 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker build -f Dockerfile-${DOCKER_OS}-qt${QT_VER}-py${PY_VER} -t fredrikaverpil/pyside2-${DOCKER_OS}-qt${QT_VER}-py${PY_VER} . ; fi
220 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-${DOCKER_OS}-qt${QT_VER}-py${PY_VER} ; fi
221 |
222 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then chmod +x build_osx_qt${QT_VER}_py${PY_VER}.sh ; fi
223 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then ./build_osx_qt${QT_VER}_py${PY_VER}.sh ; fi
224 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then mv ~/pyside-setup/dist/*.whl . ; fi
225 |
226 | before_script:
227 | - pwd
228 |
229 | script:
230 | - ls -alh *.whl
231 |
232 | after_success:
233 | - ls -alh
234 |
235 | after_failure:
236 | - ls -alh
237 |
238 | before_deploy:
239 | # Date
240 | - DEPLOY_DATE=$(date +'%Y-%m-%d')
241 | - sed -i -e "s/@DATE@/${DEPLOY_DATE}/g" bintray.json
242 | # Version
243 | - if [ "$QT_VER" == "5.6" ]; then git clone --recursive --branch 5.6 https://codereview.qt-project.org/pyside/pyside-setup ; fi
244 | - PYSIDE_VERSION=$(awk '/^__version__/{print $NF}' pyside-setup/setup.py | tr -d '"')
245 | - sed -i -e "s/@VERSION@/${PYSIDE_VERSION}/g" bintray.json
246 | # Package name
247 | - echo $TRAVIS_BRANCH
248 | - if [ "$TRAVIS_BRANCH" == "master" ]; then PACKAGE_NAME=pyside2 ; fi
249 | - if [ "$TRAVIS_BRANCH" != "master" ]; then PACKAGE_NAME=development ; fi
250 | - echo $PACKAGE_NAME
251 | - sed -i -e "s/@PACKAGE_NAME@/${PACKAGE_NAME}/g" bintray.json
252 | # Package description
253 | - if [ "$TRAVIS_BRANCH" == "master" ]; then PACKAGE_DESC="PySide2 wheels" ; fi
254 | - if [ "$TRAVIS_BRANCH" != "master" ]; then PACKAGE_DESC="PySide2 wheels from development branches" ; fi
255 | - sed -i -e "s/@PACKAGE_DESC@/${PACKAGE_DESC}/g" bintray.json
256 | # Upload folder: master branch
257 | - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then UPLOAD_PATH=$DOCKER_OS/ ; fi
258 | - if [ "$TRAVIS_BRANCH" == "master" ] && [ "$TRAVIS_OS_NAME" == "osx" ]; then UPLOAD_PATH=osx$(sw_vers -productVersion)/ ; fi
259 | # Upload folder: non-master branch
260 | - TRAVIS_BRANCH_REPLACED=$(echo "$TRAVIS_BRANCH" | tr " " _ | tr "/" _)
261 | - if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_OS_NAME" == "linux" ]; then UPLOAD_PATH=$TRAVIS_BRANCH_REPLACED/$DOCKER_OS/ ; fi
262 | - if [ "$TRAVIS_BRANCH" != "master" ] && [ "$TRAVIS_OS_NAME" == "osx" ]; then UPLOAD_PATH=$TRAVIS_BRANCH_REPLACED/osx$(sw_vers -productVersion)/ ; fi
263 | - echo $UPLOAD_PATH
264 | - sed -i -e "s|@UPLOAD_PATH@|${UPLOAD_PATH}|g" bintray.json
265 |
266 |
267 | deploy:
268 | - provider: bintray
269 | user: fredrikaverpil
270 | file: bintray.json
271 | key:
272 | # api key from https://bintray.com/profile/edit
273 | # encrypted using travis cli tool:
274 | # travis encrypt BINTRAY-API-KEY --add deploy.key
275 | secure: cRLtxBhIu2X/MXYgUednLWmhy/1i0VNa0pHTEv3zuvpqENMsR/lyFuhTize+EqZaD/Ike+TQuG7Vo1OEN01wNITQe8YXNuQPRYfrCKdNLb+vJL9MwNDRRIjlYFyChRD7XJifzWlpiEsJ6WKKJsI+h2ONlQYHyoAQ78tpeG0PkqeIidUtwncaDmJeWEbfTzaPZmoUJS2UznF7Gv6z1Oz6iNXSFVM+sPUzwA59lioM+btuG8CymdSfQxZXTCXRHALC4cLq4B+ut6pcB3CqVhvi3MyNwydX/U5ABDVUM14BHgSYKDCvqthKdq7Fe35yrHWoGeBi+E42o0ee8lwEyj8ZJHlBWkUeKyA3jwHDyb4Aa93TTKvjv6000Vnsd26kKObyVqu5QqQN/vx2gz4JbiXt62GD4YTBVx/T2P3LU8efRpPXf0WWuVnQqwBC9jVWjr1ELjOo4kXbL9q4OHNh/e/aPIbrv2MhpQvw6aqvA2UMZoMqP8Yv5TZkH3ETnYGCdtGbV2nHtFegqp6Cmph+J6nPcGQipdF8OvTgSwxlQay+OMTD5uVRNzQ/Z6VXHgAbqVwEXHNywkZ2ZYXb6U/wuldIyouQoW3m69F+GTREojgbbgpoyj7wF4CkQ5iAmcnpxZBz8scv5uEKVvNwJonc53bCZb9qMQlRFhKWgHRtwtLnJL0=
276 | on:
277 | all_branches: true
278 | repo: fredrikaverpil/pyside2-wheels
279 | override: true
280 |
281 | after_deploy:
282 | - ls -alh
283 | - tree
284 |
285 | after_script:
286 | - ls -alh
287 |
288 |
--------------------------------------------------------------------------------
/MACOS.md:
--------------------------------------------------------------------------------
1 | ### Mac OS X 10.10.5
2 |
3 | ```bash
4 | # Make scripts executable
5 | chmod +x build_osx_qt5.6_py2.7.sh
6 | chmod +x build_osx_qt5.6_py3.5.sh
7 | chmod +x build_osx_qt5.6_py3.6.sh
8 |
9 | # Install prerequisites and build wheels
10 | ./build_osx_qt5.6_py2.7.sh
11 | ./build_osx_qt5.6_py3.5.sh
12 | ./build_osx_qt5.6_py3.6.sh
13 | ```
14 |
15 | **Mac OS X, Python 2.7 modules list as of 2017-08-20:**
16 |
17 | ```
18 | -- module Qt5Core found ()
19 | -- module Qt5Gui found (essential)
20 | -- module Qt5Widgets found (essential)
21 | -- module Qt5PrintSupport found (essential)
22 | -- module Qt5Sql found (essential)
23 | -- module Qt5Network found (essential)
24 | -- module Qt5Test found (essential)
25 | -- module Qt5Concurrent found (essential)
26 | -- module Qt5MacExtras found (essential)
27 | -- module Qt5Xml found ()
28 | -- module Qt5XmlPatterns found (opt)
29 | -- module Qt5Help found (opt)
30 | -- module Qt5Multimedia found (opt)
31 | -- module Qt5MultimediaWidgets found (opt)
32 | -- module Qt5OpenGL found (opt)
33 | -- module Qt5Qml found (opt)
34 | -- module Qt5Quick found (opt)
35 | -- module Qt5QuickWidgets found (opt)
36 | -- module Qt5Script found (opt)
37 | -- module Qt5ScriptTools found (opt)
38 | -- module Qt5Svg found (opt)
39 | -- module Qt5WebChannel found (opt)
40 | -- module Qt5WebEngineWidgets found (opt)
41 | CMake Warning at CMakeLists.txt:166 (find_package):
42 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
43 | has asked CMake to find a package configuration file provided by
44 | "Qt5WebKit", but CMake did not find one.
45 | Could not find a package configuration file provided by "Qt5WebKit" with
46 | any of the following names:
47 | Qt5WebKitConfig.cmake
48 | qt5webkit-config.cmake
49 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
50 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
51 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
52 | been installed.
53 | Call Stack (most recent call first):
54 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
55 | -- optional module Qt5WebKit skipped
56 | CMake Warning at CMakeLists.txt:166 (find_package):
57 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
58 | project has asked CMake to find a package configuration file provided by
59 | "Qt5WebKitWidgets", but CMake did not find one.
60 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
61 | with any of the following names:
62 | Qt5WebKitWidgetsConfig.cmake
63 | qt5webkitwidgets-config.cmake
64 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
65 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
66 | files. If "Qt5WebKitWidgets" provides a separate development package or
67 | SDK, be sure it has been installed.
68 | Call Stack (most recent call first):
69 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
70 | -- optional module Qt5WebKitWidgets skipped
71 | -- module Qt5WebSockets found (opt)
72 | -- Detected OS: mac
73 | -- !!! The generated bindings will be installed on /Users/travis/pyside-setup/pyside2_install/py2.7-qt5.6.1-64bit-release/lib/python2.7/site-packages, is it right!?
74 | -- PySide will be generated using the protected hack!
75 | -- Checking for QGtkStyle in QtWidgets -- not found
76 | -- Checking for QMacStyle in QtWidgets -- not found
77 | -- Checking for QSslCertificate in QtNetwork -- found
78 | -- Checking for QSslCipher in QtNetwork -- found
79 | -- Checking for QSslConfiguration in QtNetwork -- found
80 | -- Checking for QSslError in QtNetwork -- found
81 | -- Checking for QSslKey in QtNetwork -- found
82 | -- Checking for QSslSocket in QtNetwork -- found
83 | ```
84 |
85 | **Mac OS X, Python 3.5 modules list as of 2017-08-20:**
86 |
87 | ```
88 | -- module Qt5Core found ()
89 | -- module Qt5Gui found (essential)
90 | -- module Qt5Widgets found (essential)
91 | -- module Qt5PrintSupport found (essential)
92 | -- module Qt5Sql found (essential)
93 | -- module Qt5Network found (essential)
94 | -- module Qt5Test found (essential)
95 | -- module Qt5Concurrent found (essential)
96 | -- module Qt5MacExtras found (essential)
97 | -- module Qt5Xml found ()
98 | -- module Qt5XmlPatterns found (opt)
99 | -- module Qt5Help found (opt)
100 | -- module Qt5Multimedia found (opt)
101 | -- module Qt5MultimediaWidgets found (opt)
102 | -- module Qt5OpenGL found (opt)
103 | -- module Qt5Qml found (opt)
104 | -- module Qt5Quick found (opt)
105 | -- module Qt5QuickWidgets found (opt)
106 | -- module Qt5Script found (opt)
107 | -- module Qt5ScriptTools found (opt)
108 | -- module Qt5Svg found (opt)
109 | -- module Qt5WebChannel found (opt)
110 | -- module Qt5WebEngineWidgets found (opt)
111 | CMake Warning at CMakeLists.txt:166 (find_package):
112 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
113 | has asked CMake to find a package configuration file provided by
114 | "Qt5WebKit", but CMake did not find one.
115 | Could not find a package configuration file provided by "Qt5WebKit" with
116 | any of the following names:
117 | Qt5WebKitConfig.cmake
118 | qt5webkit-config.cmake
119 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
120 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
121 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
122 | been installed.
123 | Call Stack (most recent call first):
124 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
125 | -- optional module Qt5WebKit skipped
126 | CMake Warning at CMakeLists.txt:166 (find_package):
127 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
128 | project has asked CMake to find a package configuration file provided by
129 | "Qt5WebKitWidgets", but CMake did not find one.
130 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
131 | with any of the following names:
132 | Qt5WebKitWidgetsConfig.cmake
133 | qt5webkitwidgets-config.cmake
134 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
135 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
136 | files. If "Qt5WebKitWidgets" provides a separate development package or
137 | SDK, be sure it has been installed.
138 | Call Stack (most recent call first):
139 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
140 | -- optional module Qt5WebKitWidgets skipped
141 | -- module Qt5WebSockets found (opt)
142 | -- Detected OS: mac
143 | -- !!! The generated bindings will be installed on /Users/travis/pyside-setup/pyside3_install/py3.5-qt5.6.1-64bit-release/lib/python3.5/site-packages, is it right!?
144 | -- PySide will be generated using the protected hack!
145 | -- Checking for QGtkStyle in QtWidgets -- not found
146 | -- Checking for QMacStyle in QtWidgets -- not found
147 | -- Checking for QSslCertificate in QtNetwork -- found
148 | -- Checking for QSslCipher in QtNetwork -- found
149 | -- Checking for QSslConfiguration in QtNetwork -- found
150 | -- Checking for QSslError in QtNetwork -- found
151 | -- Checking for QSslKey in QtNetwork -- found
152 | -- Checking for QSslSocket in QtNetwork -- found
153 | ```
154 |
155 | **Mac OS X, Python 3.6 modules list as of 2017-08-20:**
156 |
157 | ```
158 | -- module Qt5Core found ()
159 | -- module Qt5Gui found (essential)
160 | -- module Qt5Widgets found (essential)
161 | -- module Qt5PrintSupport found (essential)
162 | -- module Qt5Sql found (essential)
163 | -- module Qt5Network found (essential)
164 | -- module Qt5Test found (essential)
165 | -- module Qt5Concurrent found (essential)
166 | -- module Qt5MacExtras found (essential)
167 | -- module Qt5Xml found ()
168 | -- module Qt5XmlPatterns found (opt)
169 | -- module Qt5Help found (opt)
170 | -- module Qt5Multimedia found (opt)
171 | -- module Qt5MultimediaWidgets found (opt)
172 | -- module Qt5OpenGL found (opt)
173 | -- module Qt5Qml found (opt)
174 | -- module Qt5Quick found (opt)
175 | -- module Qt5QuickWidgets found (opt)
176 | -- module Qt5Script found (opt)
177 | -- module Qt5ScriptTools found (opt)
178 | -- module Qt5Svg found (opt)
179 | -- module Qt5WebChannel found (opt)
180 | -- module Qt5WebEngineWidgets found (opt)
181 | CMake Warning at CMakeLists.txt:166 (find_package):
182 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
183 | has asked CMake to find a package configuration file provided by
184 | "Qt5WebKit", but CMake did not find one.
185 | Could not find a package configuration file provided by "Qt5WebKit" with
186 | any of the following names:
187 | Qt5WebKitConfig.cmake
188 | qt5webkit-config.cmake
189 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
190 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
191 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
192 | been installed.
193 | Call Stack (most recent call first):
194 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
195 | -- optional module Qt5WebKit skipped
196 | CMake Warning at CMakeLists.txt:166 (find_package):
197 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
198 | project has asked CMake to find a package configuration file provided by
199 | "Qt5WebKitWidgets", but CMake did not find one.
200 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
201 | with any of the following names:
202 | Qt5WebKitWidgetsConfig.cmake
203 | qt5webkitwidgets-config.cmake
204 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
205 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
206 | files. If "Qt5WebKitWidgets" provides a separate development package or
207 | SDK, be sure it has been installed.
208 | Call Stack (most recent call first):
209 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
210 | -- optional module Qt5WebKitWidgets skipped
211 | -- module Qt5WebSockets found (opt)
212 | -- Detected OS: mac
213 | -- !!! The generated bindings will be installed on /Users/travis/pyside-setup/pyside3_install/py3.6-qt5.6.1-64bit-release/lib/python3.6/site-packages, is it right!?
214 | -- PySide will be generated using the protected hack!
215 | -- Checking for QGtkStyle in QtWidgets -- not found
216 | -- Checking for QMacStyle in QtWidgets -- not found
217 | -- Checking for QSslCertificate in QtNetwork -- found
218 | -- Checking for QSslCipher in QtNetwork -- found
219 | -- Checking for QSslConfiguration in QtNetwork -- found
220 | -- Checking for QSslError in QtNetwork -- found
221 | -- Checking for QSslKey in QtNetwork -- found
222 | -- Checking for QSslSocket in QtNetwork -- found
223 | ```
224 |
--------------------------------------------------------------------------------
/UBUNTU.md:
--------------------------------------------------------------------------------
1 | ### Ubuntu 14.04, 16.04
2 |
3 | #### Known issues
4 |
5 | - `PySide2.QtUiTools` not available on Trusty: https://github.com/fredrikaverpil/pyside2-wheels/issues/74
6 | - PySide2 build crashes with Python 3.6 when building `shiboken2`.
7 |
8 |
9 | ```bash
10 | # Build containers
11 | docker build -f Dockerfile-ubuntu14.04-qt5.6-py2.7 -t fredrikaverpil/pyside2-ubuntu14.04-qt5.6-py2.7 .
12 | docker build -f Dockerfile-ubuntu14.04-qt5.6-py3.4 -t fredrikaverpil/pyside2-ubuntu14.04-qt5.6-py3.4 .
13 | docker build -f Dockerfile-ubuntu16.04-qt5.6-py2.7 -t fredrikaverpil/pyside2-ubuntu16.04-qt5.6-py2.7 .
14 | docker build -f Dockerfile-ubuntu16.04-qt5.6-py3.5 -t fredrikaverpil/pyside2-ubuntu16.04-qt5.6-py3.5 .
15 |
16 | # Build wheels
17 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-ubuntu14.04-qt5.6-py2.7
18 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-ubuntu14.04-qt5.6-py3.4
19 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-ubuntu16.04-qt5.6-py2.7
20 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-ubuntu16.04-qt5.6-py3.5
21 | ```
22 |
23 | **Ubuntu 14.04, Python 2.7 modules list as of 2017-08-20:**
24 |
25 | ```
26 | -- module Qt5Core found ()
27 | -- module Qt5Gui found (essential)
28 | -- module Qt5Widgets found (essential)
29 | -- module Qt5PrintSupport found (essential)
30 | -- module Qt5Sql found (essential)
31 | -- module Qt5Network found (essential)
32 | -- module Qt5Test found (essential)
33 | -- module Qt5Concurrent found (essential)
34 | -- module Qt5X11Extras found (essential)
35 | -- module Qt5Xml found ()
36 | -- module Qt5XmlPatterns found (opt)
37 | -- module Qt5Help found (opt)
38 | -- module Qt5Multimedia found (opt)
39 | -- module Qt5MultimediaWidgets found (opt)
40 | -- module Qt5OpenGL found (opt)
41 | -- module Qt5Qml found (opt)
42 | -- module Qt5Quick found (opt)
43 | -- module Qt5QuickWidgets found (opt)
44 | -- module Qt5Script found (opt)
45 | -- module Qt5ScriptTools found (opt)
46 | -- module Qt5Svg found (opt)
47 | -- module Qt5WebChannel found (opt)
48 | -- module Qt5WebEngineWidgets found (opt)
49 | CMake Warning at CMakeLists.txt:166 (find_package):
50 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
51 | has asked CMake to find a package configuration file provided by
52 | "Qt5WebKit", but CMake did not find one.
53 | Could not find a package configuration file provided by "Qt5WebKit" with
54 | any of the following names:
55 | Qt5WebKitConfig.cmake
56 | qt5webkit-config.cmake
57 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
58 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
59 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
60 | been installed.
61 | Call Stack (most recent call first):
62 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
63 | -- optional module Qt5WebKit skipped
64 | CMake Warning at CMakeLists.txt:166 (find_package):
65 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
66 | project has asked CMake to find a package configuration file provided by
67 | "Qt5WebKitWidgets", but CMake did not find one.
68 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
69 | with any of the following names:
70 | Qt5WebKitWidgetsConfig.cmake
71 | qt5webkitwidgets-config.cmake
72 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
73 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
74 | files. If "Qt5WebKitWidgets" provides a separate development package or
75 | SDK, be sure it has been installed.
76 | Call Stack (most recent call first):
77 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
78 | -- optional module Qt5WebKitWidgets skipped
79 | -- module Qt5WebSockets found (opt)
80 | -- Detected OS: x11
81 | -- PySide will be generated using the protected hack!
82 | -- Checking for QGtkStyle in QtWidgets -- not found
83 | -- Checking for QMacStyle in QtWidgets -- not found
84 | -- Checking for QSslCertificate in QtNetwork -- not found
85 | -- Checking for QSslCipher in QtNetwork -- not found
86 | -- Checking for QSslConfiguration in QtNetwork -- not found
87 | -- Checking for QSslError in QtNetwork -- not found
88 | -- Checking for QSslKey in QtNetwork -- not found
89 | -- Checking for QSslSocket in QtNetwork -- not found
90 | ```
91 |
92 | **Ubuntu 14.04, Python 3.4 modules list as of 2017-08-20:**
93 |
94 | ```
95 | -- module Qt5Core found ()
96 | -- module Qt5Gui found (essential)
97 | -- module Qt5Widgets found (essential)
98 | -- module Qt5PrintSupport found (essential)
99 | -- module Qt5Sql found (essential)
100 | -- module Qt5Network found (essential)
101 | -- module Qt5Test found (essential)
102 | -- module Qt5Concurrent found (essential)
103 | -- module Qt5X11Extras found (essential)
104 | -- module Qt5Xml found ()
105 | -- module Qt5XmlPatterns found (opt)
106 | -- module Qt5Help found (opt)
107 | -- module Qt5Multimedia found (opt)
108 | -- module Qt5MultimediaWidgets found (opt)
109 | -- module Qt5OpenGL found (opt)
110 | -- module Qt5Qml found (opt)
111 | -- module Qt5Quick found (opt)
112 | -- module Qt5QuickWidgets found (opt)
113 | -- module Qt5Script found (opt)
114 | -- module Qt5ScriptTools found (opt)
115 | -- module Qt5Svg found (opt)
116 | -- module Qt5WebChannel found (opt)
117 | -- module Qt5WebEngineWidgets found (opt)
118 | -- optional module Qt5WebKit skipped
119 | -- optional module Qt5WebKitWidgets skipped
120 | -- module Qt5WebSockets found (opt)
121 | -- Detected OS: x11
122 | CMake Warning at CMakeLists.txt:166 (find_package):
123 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
124 | has asked CMake to find a package configuration file provided by
125 | "Qt5WebKit", but CMake did not find one.
126 | Could not find a package configuration file provided by "Qt5WebKit" with
127 | any of the following names:
128 | Qt5WebKitConfig.cmake
129 | qt5webkit-config.cmake
130 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
131 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
132 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
133 | been installed.
134 | Call Stack (most recent call first):
135 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
136 | CMake Warning at CMakeLists.txt:166 (find_package):
137 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
138 | project has asked CMake to find a package configuration file provided by
139 | "Qt5WebKitWidgets", but CMake did not find one.
140 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
141 | with any of the following names:
142 | Qt5WebKitWidgetsConfig.cmake
143 | qt5webkitwidgets-config.cmake
144 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
145 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
146 | files. If "Qt5WebKitWidgets" provides a separate development package or
147 | SDK, be sure it has been installed.
148 | Call Stack (most recent call first):
149 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
150 | -- PySide will be generated using the protected hack!
151 | -- Checking for QGtkStyle in QtWidgets -- not found
152 | -- Checking for QMacStyle in QtWidgets -- not found
153 | -- Checking for QSslCertificate in QtNetwork -- not found
154 | -- Checking for QSslCipher in QtNetwork -- not found
155 | -- Checking for QSslConfiguration in QtNetwork -- not found
156 | -- Checking for QSslError in QtNetwork -- not found
157 | -- Checking for QSslKey in QtNetwork -- not found
158 | -- Checking for QSslSocket in QtNetwork -- not found
159 | ```
160 |
161 | **Ubuntu 16.04, Python 2.7 modules list as of 2017-08-20:**
162 |
163 | ```
164 | -- module Qt5Core found ()
165 | -- module Qt5Gui found (essential)
166 | -- module Qt5Widgets found (essential)
167 | -- module Qt5PrintSupport found (essential)
168 | -- module Qt5Sql found (essential)
169 | -- module Qt5Network found (essential)
170 | -- module Qt5Test found (essential)
171 | -- module Qt5Concurrent found (essential)
172 | -- module Qt5X11Extras found (essential)
173 | -- module Qt5Xml found ()
174 | -- module Qt5XmlPatterns found (opt)
175 | -- module Qt5Help found (opt)
176 | -- module Qt5Multimedia found (opt)
177 | -- module Qt5MultimediaWidgets found (opt)
178 | -- module Qt5OpenGL found (opt)
179 | -- module Qt5Qml found (opt)
180 | -- module Qt5Quick found (opt)
181 | -- module Qt5QuickWidgets found (opt)
182 | -- module Qt5Script found (opt)
183 | -- module Qt5ScriptTools found (opt)
184 | -- module Qt5Svg found (opt)
185 | -- module Qt5WebChannel found (opt)
186 | -- module Qt5WebEngineWidgets found (opt)
187 | CMake Warning at CMakeLists.txt:166 (find_package):
188 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
189 | has asked CMake to find a package configuration file provided by
190 | "Qt5WebKit", but CMake did not find one.
191 | Could not find a package configuration file provided by "Qt5WebKit" with
192 | any of the following names:
193 | Qt5WebKitConfig.cmake
194 | qt5webkit-config.cmake
195 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
196 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
197 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
198 | been installed.
199 | Call Stack (most recent call first):
200 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
201 | -- optional module Qt5WebKit skipped
202 | CMake Warning at CMakeLists.txt:166 (find_package):
203 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
204 | project has asked CMake to find a package configuration file provided by
205 | "Qt5WebKitWidgets", but CMake did not find one.
206 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
207 | with any of the following names:
208 | Qt5WebKitWidgetsConfig.cmake
209 | qt5webkitwidgets-config.cmake
210 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
211 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
212 | files. If "Qt5WebKitWidgets" provides a separate development package or
213 | SDK, be sure it has been installed.
214 | Call Stack (most recent call first):
215 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
216 | -- optional module Qt5WebKitWidgets skipped
217 | -- module Qt5WebSockets found (opt)
218 | -- Detected OS: x11
219 | -- PySide will be generated using the protected hack!
220 | -- Checking for QGtkStyle in QtWidgets -- not found
221 | -- Checking for QMacStyle in QtWidgets -- not found
222 | -- Checking for QSslCertificate in QtNetwork -- not found
223 | -- Checking for QSslCipher in QtNetwork -- not found
224 | -- Checking for QSslConfiguration in QtNetwork -- not found
225 | -- Checking for QSslError in QtNetwork -- not found
226 | -- Checking for QSslKey in QtNetwork -- not found
227 | -- Checking for QSslSocket in QtNetwork -- not found
228 | ```
229 |
230 | **Ubuntu 16.04, Python 3.5 modules list as of 2017-08-20:**
231 |
232 | ```
233 | -- module Qt5Core found ()
234 | -- module Qt5Gui found (essential)
235 | -- module Qt5Widgets found (essential)
236 | -- module Qt5PrintSupport found (essential)
237 | -- module Qt5Sql found (essential)
238 | -- module Qt5Network found (essential)
239 | -- module Qt5Test found (essential)
240 | -- module Qt5Concurrent found (essential)
241 | -- module Qt5X11Extras found (essential)
242 | -- module Qt5Xml found ()
243 | -- module Qt5XmlPatterns found (opt)
244 | -- module Qt5Help found (opt)
245 | -- module Qt5Multimedia found (opt)
246 | -- module Qt5MultimediaWidgets found (opt)
247 | -- module Qt5OpenGL found (opt)
248 | -- module Qt5Qml found (opt)
249 | -- module Qt5Quick found (opt)
250 | -- module Qt5QuickWidgets found (opt)
251 | -- module Qt5Script found (opt)
252 | -- module Qt5ScriptTools found (opt)
253 | -- module Qt5Svg found (opt)
254 | -- module Qt5WebChannel found (opt)
255 | -- module Qt5WebEngineWidgets found (opt)
256 | CMake Warning at CMakeLists.txt:166 (find_package):
257 | By not providing "FindQt5WebKit.cmake" in CMAKE_MODULE_PATH this project
258 | has asked CMake to find a package configuration file provided by
259 | "Qt5WebKit", but CMake did not find one.
260 | Could not find a package configuration file provided by "Qt5WebKit" with
261 | any of the following names:
262 | Qt5WebKitConfig.cmake
263 | qt5webkit-config.cmake
264 | Add the installation prefix of "Qt5WebKit" to CMAKE_PREFIX_PATH or set
265 | "Qt5WebKit_DIR" to a directory containing one of the above files. If
266 | "Qt5WebKit" provides a separate development package or SDK, be sure it has
267 | been installed.
268 | Call Stack (most recent call first):
269 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
270 | -- optional module Qt5WebKit skipped
271 | CMake Warning at CMakeLists.txt:166 (find_package):
272 | By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
273 | project has asked CMake to find a package configuration file provided by
274 | "Qt5WebKitWidgets", but CMake did not find one.
275 | Could not find a package configuration file provided by "Qt5WebKitWidgets"
276 | with any of the following names:
277 | Qt5WebKitWidgetsConfig.cmake
278 | qt5webkitwidgets-config.cmake
279 | Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
280 | set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
281 | files. If "Qt5WebKitWidgets" provides a separate development package or
282 | SDK, be sure it has been installed.
283 | Call Stack (most recent call first):
284 | CMakeLists.txt:242 (COLLECT_MODULE_IF_FOUND)
285 | -- optional module Qt5WebKitWidgets skipped
286 | -- module Qt5WebSockets found (opt)
287 | -- Detected OS: x11
288 | -- PySide will be generated using the protected hack!
289 | -- Checking for QGtkStyle in QtWidgets -- not found
290 | -- Checking for QMacStyle in QtWidgets -- not found
291 | -- Checking for QSslCertificate in QtNetwork -- not found
292 | -- Checking for QSslCipher in QtNetwork -- not found
293 | -- Checking for QSslConfiguration in QtNetwork -- not found
294 | -- Checking for QSslError in QtNetwork -- not found
295 | -- Checking for QSslKey in QtNetwork -- not found
296 | -- Checking for QSslSocket in QtNetwork -- not found
297 | ```
298 |
--------------------------------------------------------------------------------
/CENTOS.md:
--------------------------------------------------------------------------------
1 | ### CentOS 6, 7
2 |
3 | ```bash
4 | # Build containers
5 | docker build -f Dockerfile-centos6-qt5.6-py2.6 -t fredrikaverpil/pyside2-centos6-qt5.6-py2.6 .
6 | docker build -f Dockerfile-centos6-qt5.6-py2.7 -t fredrikaverpil/pyside2-centos6-qt5.6-py2.7 .
7 | docker build -f Dockerfile-centos6-qt5.6-py3.5 -t fredrikaverpil/pyside2-centos6-qt5.6-py3.5 .
8 | docker build -f Dockerfile-centos6-qt5.6-py3.6 -t fredrikaverpil/pyside2-centos6-qt5.6-py3.6 .
9 | docker build -f Dockerfile-centos7-qt5.6-py2.7 -t fredrikaverpil/pyside2-centos7-qt5.6-py2.7 .
10 | docker build -f Dockerfile-centos7-qt5.6-py3.5 -t fredrikaverpil/pyside2-centos7-qt5.6-py3.5 .
11 | docker build -f Dockerfile-centos7-qt5.6-py3.6 -t fredrikaverpil/pyside2-centos7-qt5.6-py3.6 .
12 |
13 | # Build wheels
14 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos6-qt5.6-py2.6
15 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos6-qt5.6-py2.7
16 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos6-qt5.6-py3.5
17 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos6-qt5.6-py3.6
18 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos7-qt5.6-py2.7
19 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos7-qt5.6-py3.5
20 | docker run --rm -v $(pwd):/workdir/pyside-setup/dist fredrikaverpil/pyside2-centos7-qt5.6-py3.6
21 | ```
22 |
23 | **CentOS 6, Python 2.6 modules list as of 2017-08-20:**
24 |
25 | ```
26 | -- module Qt5Core found ()
27 | -- module Qt5Gui found (essential)
28 | -- module Qt5Widgets found (essential)
29 | -- module Qt5PrintSupport found (essential)
30 | -- module Qt5Sql found (essential)
31 | -- module Qt5Network found (essential)
32 | -- module Qt5Test found (essential)
33 | -- module Qt5Concurrent found (essential)
34 | -- module Qt5X11Extras found (essential)
35 | -- module Qt5Xml found ()
36 | -- module Qt5XmlPatterns found (opt)
37 | -- module Qt5Help found (opt)
38 | -- module Qt5Multimedia found (opt)
39 | -- module Qt5MultimediaWidgets found (opt)
40 | -- module Qt5OpenGL found (opt)
41 | -- module Qt5Qml found (opt)
42 | -- module Qt5Quick found (opt)
43 | -- module Qt5QuickWidgets found (opt)
44 | -- module Qt5Script found (opt)
45 | -- module Qt5ScriptTools found (opt)
46 | -- module Qt5Svg found (opt)
47 | -- module Qt5UiTools found (opt)
48 | -- module Qt5WebChannel found (opt)
49 | -- optional module Qt5WebEngineWidgets skipped
50 | -- module Qt5WebKit found (opt)
51 | -- module Qt5WebKitWidgets found (opt)
52 | -- module Qt5WebSockets found (opt)
53 | -- Detected OS: x11
54 | CMake Warning at CMakeLists.txt:166 (find_package):
55 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
56 | project has asked CMake to find a package configuration file provided by
57 | "Qt5WebEngineWidgets", but CMake did not find one.
58 | Could not find a package configuration file provided by
59 | "Qt5WebEngineWidgets" with any of the following names:
60 | Qt5WebEngineWidgetsConfig.cmake
61 | qt5webenginewidgets-config.cmake
62 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
63 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
64 | files. If "Qt5WebEngineWidgets" provides a separate development package or
65 | SDK, be sure it has been installed.
66 | Call Stack (most recent call first):
67 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
68 | -- PySide will be generated using the protected hack!
69 | -- Checking for QGtkStyle in QtWidgets -- not found
70 | -- Checking for QMacStyle in QtWidgets -- not found
71 | -- Checking for QSslCertificate in QtNetwork -- not found
72 | -- Checking for QSslCipher in QtNetwork -- not found
73 | -- Checking for QSslConfiguration in QtNetwork -- not found
74 | -- Checking for QSslError in QtNetwork -- not found
75 | -- Checking for QSslKey in QtNetwork -- not found
76 | -- Checking for QSslSocket in QtNetwork -- not found
77 | ```
78 |
79 |
80 | **CentOS 6, Python 2.7 modules list as of 2017-08-20:**
81 |
82 | ```
83 | -- module Qt5Core found ()
84 | -- module Qt5Gui found (essential)
85 | -- module Qt5Widgets found (essential)
86 | -- module Qt5PrintSupport found (essential)
87 | -- module Qt5Sql found (essential)
88 | -- module Qt5Network found (essential)
89 | -- module Qt5Test found (essential)
90 | -- module Qt5Concurrent found (essential)
91 | -- module Qt5X11Extras found (essential)
92 | -- module Qt5Xml found ()
93 | -- module Qt5XmlPatterns found (opt)
94 | -- module Qt5Help found (opt)
95 | -- module Qt5Multimedia found (opt)
96 | -- module Qt5MultimediaWidgets found (opt)
97 | -- module Qt5OpenGL found (opt)
98 | -- module Qt5Qml found (opt)
99 | -- module Qt5Quick found (opt)
100 | -- module Qt5QuickWidgets found (opt)
101 | -- module Qt5Script found (opt)
102 | -- module Qt5ScriptTools found (opt)
103 | -- module Qt5Svg found (opt)
104 | -- module Qt5UiTools found (opt)
105 | -- module Qt5WebChannel found (opt)
106 | CMake Warning at CMakeLists.txt:166 (find_package):
107 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
108 | project has asked CMake to find a package configuration file provided by
109 | "Qt5WebEngineWidgets", but CMake did not find one.
110 | Could not find a package configuration file provided by
111 | "Qt5WebEngineWidgets" with any of the following names:
112 | Qt5WebEngineWidgetsConfig.cmake
113 | qt5webenginewidgets-config.cmake
114 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
115 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
116 | files. If "Qt5WebEngineWidgets" provides a separate development package or
117 | SDK, be sure it has been installed.
118 | Call Stack (most recent call first):
119 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
120 | -- optional module Qt5WebEngineWidgets skipped
121 | -- module Qt5WebKit found (opt)
122 | -- module Qt5WebKitWidgets found (opt)
123 | -- module Qt5WebSockets found (opt)
124 | -- Detected OS: x11
125 | -- PySide will be generated using the protected hack!
126 | -- Checking for QGtkStyle in QtWidgets -- not found
127 | -- Checking for QMacStyle in QtWidgets -- not found
128 | -- Checking for QSslCertificate in QtNetwork -- not found
129 | -- Checking for QSslCipher in QtNetwork -- not found
130 | -- Checking for QSslConfiguration in QtNetwork -- not found
131 | -- Checking for QSslError in QtNetwork -- not found
132 | -- Checking for QSslKey in QtNetwork -- not found
133 | -- Checking for QSslSocket in QtNetwork -- not found
134 | ```
135 |
136 | **CentOS 6, Python 3.5 modules list as of 2017-08-20:**
137 |
138 | ```
139 | -- module Qt5Core found ()
140 | -- module Qt5Gui found (essential)
141 | -- module Qt5Widgets found (essential)
142 | -- module Qt5PrintSupport found (essential)
143 | -- module Qt5Sql found (essential)
144 | -- module Qt5Network found (essential)
145 | -- module Qt5Test found (essential)
146 | -- module Qt5Concurrent found (essential)
147 | -- module Qt5X11Extras found (essential)
148 | -- module Qt5Xml found ()
149 | -- module Qt5XmlPatterns found (opt)
150 | -- module Qt5Help found (opt)
151 | -- module Qt5Multimedia found (opt)
152 | -- module Qt5MultimediaWidgets found (opt)
153 | -- module Qt5OpenGL found (opt)
154 | -- module Qt5Qml found (opt)
155 | -- module Qt5Quick found (opt)
156 | -- module Qt5QuickWidgets found (opt)
157 | -- module Qt5Script found (opt)
158 | -- module Qt5ScriptTools found (opt)
159 | -- module Qt5Svg found (opt)
160 | -- module Qt5UiTools found (opt)
161 | -- module Qt5WebChannel found (opt)
162 | CMake Warning at CMakeLists.txt:166 (find_package):
163 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
164 | project has asked CMake to find a package configuration file provided by
165 | "Qt5WebEngineWidgets", but CMake did not find one.
166 | Could not find a package configuration file provided by
167 | "Qt5WebEngineWidgets" with any of the following names:
168 | Qt5WebEngineWidgetsConfig.cmake
169 | qt5webenginewidgets-config.cmake
170 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
171 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
172 | files. If "Qt5WebEngineWidgets" provides a separate development package or
173 | SDK, be sure it has been installed.
174 | Call Stack (most recent call first):
175 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
176 | -- optional module Qt5WebEngineWidgets skipped
177 | -- module Qt5WebKit found (opt)
178 | -- module Qt5WebKitWidgets found (opt)
179 | -- module Qt5WebSockets found (opt)
180 | -- Detected OS: x11
181 | -- PySide will be generated using the protected hack!
182 | -- Checking for QGtkStyle in QtWidgets -- not found
183 | -- Checking for QMacStyle in QtWidgets -- not found
184 | -- Checking for QSslCertificate in QtNetwork -- not found
185 | -- Checking for QSslCipher in QtNetwork -- not found
186 | -- Checking for QSslConfiguration in QtNetwork -- not found
187 | -- Checking for QSslError in QtNetwork -- not found
188 | -- Checking for QSslKey in QtNetwork -- not found
189 | -- Checking for QSslSocket in QtNetwork -- not found
190 | ```
191 |
192 | **CentOS 6, Python 3.6 modules list as of 2017-08-20:**
193 |
194 | ```
195 | -- module Qt5Core found ()
196 | -- module Qt5Gui found (essential)
197 | -- module Qt5Widgets found (essential)
198 | -- module Qt5PrintSupport found (essential)
199 | -- module Qt5Sql found (essential)
200 | -- module Qt5Network found (essential)
201 | -- module Qt5Test found (essential)
202 | -- module Qt5Concurrent found (essential)
203 | -- module Qt5X11Extras found (essential)
204 | -- module Qt5Xml found ()
205 | -- module Qt5XmlPatterns found (opt)
206 | -- module Qt5Help found (opt)
207 | -- module Qt5Multimedia found (opt)
208 | -- module Qt5MultimediaWidgets found (opt)
209 | -- module Qt5OpenGL found (opt)
210 | -- module Qt5Qml found (opt)
211 | -- module Qt5Quick found (opt)
212 | -- module Qt5QuickWidgets found (opt)
213 | -- module Qt5Script found (opt)
214 | -- module Qt5ScriptTools found (opt)
215 | -- module Qt5Svg found (opt)
216 | -- module Qt5UiTools found (opt)
217 | -- module Qt5WebChannel found (opt)
218 | CMake Warning at CMakeLists.txt:166 (find_package):
219 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
220 | project has asked CMake to find a package configuration file provided by
221 | "Qt5WebEngineWidgets", but CMake did not find one.
222 | Could not find a package configuration file provided by
223 | "Qt5WebEngineWidgets" with any of the following names:
224 | Qt5WebEngineWidgetsConfig.cmake
225 | qt5webenginewidgets-config.cmake
226 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
227 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
228 | files. If "Qt5WebEngineWidgets" provides a separate development package or
229 | SDK, be sure it has been installed.
230 | Call Stack (most recent call first):
231 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
232 | -- optional module Qt5WebEngineWidgets skipped
233 | -- module Qt5WebKit found (opt)
234 | -- module Qt5WebKitWidgets found (opt)
235 | -- module Qt5WebSockets found (opt)
236 | -- Detected OS: x11
237 | -- PySide will be generated using the protected hack!
238 | -- Checking for QGtkStyle in QtWidgets -- not found
239 | -- Checking for QMacStyle in QtWidgets -- not found
240 | -- Checking for QSslCertificate in QtNetwork -- not found
241 | -- Checking for QSslCipher in QtNetwork -- not found
242 | -- Checking for QSslConfiguration in QtNetwork -- not found
243 | -- Checking for QSslError in QtNetwork -- not found
244 | -- Checking for QSslKey in QtNetwork -- not found
245 | -- Checking for QSslSocket in QtNetwork -- not found
246 | ```
247 |
248 | **CentOS 7, Python 2.7 modules list as of 2017-08-20:**
249 |
250 | ```
251 | -- module Qt5Core found ()
252 | -- module Qt5Gui found (essential)
253 | -- module Qt5Widgets found (essential)
254 | -- module Qt5PrintSupport found (essential)
255 | -- module Qt5Sql found (essential)
256 | -- module Qt5Network found (essential)
257 | -- module Qt5Test found (essential)
258 | -- module Qt5Concurrent found (essential)
259 | -- module Qt5X11Extras found (essential)
260 | -- module Qt5Xml found ()
261 | -- module Qt5XmlPatterns found (opt)
262 | -- module Qt5Help found (opt)
263 | -- module Qt5Multimedia found (opt)
264 | -- module Qt5MultimediaWidgets found (opt)
265 | -- module Qt5OpenGL found (opt)
266 | -- module Qt5Qml found (opt)
267 | -- module Qt5Quick found (opt)
268 | -- module Qt5QuickWidgets found (opt)
269 | -- module Qt5Script found (opt)
270 | -- module Qt5ScriptTools found (opt)
271 | -- module Qt5Svg found (opt)
272 | -- module Qt5UiTools found (opt)
273 | -- module Qt5WebChannel found (opt)
274 | -- optional module Qt5WebEngineWidgets skipped
275 | -- module Qt5WebKit found (opt)
276 | -- module Qt5WebKitWidgets found (opt)
277 | -- module Qt5WebSockets found (opt)
278 | -- Detected OS: x11
279 | CMake Warning at CMakeLists.txt:166 (find_package):
280 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
281 | project has asked CMake to find a package configuration file provided by
282 | "Qt5WebEngineWidgets", but CMake did not find one.
283 | Could not find a package configuration file provided by
284 | "Qt5WebEngineWidgets" with any of the following names:
285 | Qt5WebEngineWidgetsConfig.cmake
286 | qt5webenginewidgets-config.cmake
287 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
288 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
289 | files. If "Qt5WebEngineWidgets" provides a separate development package or
290 | SDK, be sure it has been installed.
291 | Call Stack (most recent call first):
292 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
293 | -- PySide will be generated using the protected hack!
294 | -- Checking for QGtkStyle in QtWidgets -- not found
295 | -- Checking for QMacStyle in QtWidgets -- not found
296 | -- Checking for QSslCertificate in QtNetwork -- not found
297 | -- Checking for QSslCipher in QtNetwork -- not found
298 | -- Checking for QSslConfiguration in QtNetwork -- not found
299 | -- Checking for QSslError in QtNetwork -- not found
300 | -- Checking for QSslKey in QtNetwork -- not found
301 | -- Checking for QSslSocket in QtNetwork -- not found
302 | ```
303 |
304 | **CentOS 7, Python 3.5 modules list as of 2017-08-20:**
305 |
306 | ```
307 | -- module Qt5Core found ()
308 | -- module Qt5Gui found (essential)
309 | -- module Qt5Widgets found (essential)
310 | -- module Qt5PrintSupport found (essential)
311 | -- module Qt5Sql found (essential)
312 | -- module Qt5Network found (essential)
313 | -- module Qt5Test found (essential)
314 | -- module Qt5Concurrent found (essential)
315 | -- module Qt5X11Extras found (essential)
316 | -- module Qt5Xml found ()
317 | -- module Qt5XmlPatterns found (opt)
318 | -- module Qt5Help found (opt)
319 | -- module Qt5Multimedia found (opt)
320 | -- module Qt5MultimediaWidgets found (opt)
321 | -- module Qt5OpenGL found (opt)
322 | -- module Qt5Qml found (opt)
323 | -- module Qt5Quick found (opt)
324 | -- module Qt5QuickWidgets found (opt)
325 | -- module Qt5Script found (opt)
326 | -- module Qt5ScriptTools found (opt)
327 | -- module Qt5Svg found (opt)
328 | -- module Qt5UiTools found (opt)
329 | -- module Qt5WebChannel found (opt)
330 | CMake Warning at CMakeLists.txt:166 (find_package):
331 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
332 | project has asked CMake to find a package configuration file provided by
333 | "Qt5WebEngineWidgets", but CMake did not find one.
334 | Could not find a package configuration file provided by
335 | "Qt5WebEngineWidgets" with any of the following names:
336 | Qt5WebEngineWidgetsConfig.cmake
337 | qt5webenginewidgets-config.cmake
338 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
339 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
340 | files. If "Qt5WebEngineWidgets" provides a separate development package or
341 | SDK, be sure it has been installed.
342 | Call Stack (most recent call first):
343 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
344 | -- optional module Qt5WebEngineWidgets skipped
345 | -- module Qt5WebKit found (opt)
346 | -- module Qt5WebKitWidgets found (opt)
347 | -- module Qt5WebSockets found (opt)
348 | -- Detected OS: x11
349 | -- PySide will be generated using the protected hack!
350 | -- Checking for QGtkStyle in QtWidgets -- not found
351 | -- Checking for QMacStyle in QtWidgets -- not found
352 | -- Checking for QSslCertificate in QtNetwork -- not found
353 | -- Checking for QSslCipher in QtNetwork -- not found
354 | -- Checking for QSslConfiguration in QtNetwork -- not found
355 | -- Checking for QSslError in QtNetwork -- not found
356 | -- Checking for QSslKey in QtNetwork -- not found
357 | -- Checking for QSslSocket in QtNetwork -- not found
358 | ```
359 |
360 | **CentOS 7, Python 3.6 modules list as of 2017-08-20:**
361 |
362 | ```
363 | -- module Qt5Core found ()
364 | -- module Qt5Gui found (essential)
365 | -- module Qt5Widgets found (essential)
366 | -- module Qt5PrintSupport found (essential)
367 | -- module Qt5Sql found (essential)
368 | -- module Qt5Network found (essential)
369 | -- module Qt5Test found (essential)
370 | -- module Qt5Concurrent found (essential)
371 | -- module Qt5X11Extras found (essential)
372 | -- module Qt5Xml found ()
373 | -- module Qt5XmlPatterns found (opt)
374 | -- module Qt5Help found (opt)
375 | -- module Qt5Multimedia found (opt)
376 | -- module Qt5MultimediaWidgets found (opt)
377 | -- module Qt5OpenGL found (opt)
378 | -- module Qt5Qml found (opt)
379 | -- module Qt5Quick found (opt)
380 | -- module Qt5QuickWidgets found (opt)
381 | -- module Qt5Script found (opt)
382 | -- module Qt5ScriptTools found (opt)
383 | -- module Qt5Svg found (opt)
384 | -- module Qt5UiTools found (opt)
385 | -- module Qt5WebChannel found (opt)
386 | CMake Warning at CMakeLists.txt:166 (find_package):
387 | By not providing "FindQt5WebEngineWidgets.cmake" in CMAKE_MODULE_PATH this
388 | project has asked CMake to find a package configuration file provided by
389 | "Qt5WebEngineWidgets", but CMake did not find one.
390 | Could not find a package configuration file provided by
391 | "Qt5WebEngineWidgets" with any of the following names:
392 | Qt5WebEngineWidgetsConfig.cmake
393 | qt5webenginewidgets-config.cmake
394 | Add the installation prefix of "Qt5WebEngineWidgets" to CMAKE_PREFIX_PATH
395 | or set "Qt5WebEngineWidgets_DIR" to a directory containing one of the above
396 | files. If "Qt5WebEngineWidgets" provides a separate development package or
397 | SDK, be sure it has been installed.
398 | Call Stack (most recent call first):
399 | CMakeLists.txt:239 (COLLECT_MODULE_IF_FOUND)
400 | -- optional module Qt5WebEngineWidgets skipped
401 | -- module Qt5WebKit found (opt)
402 | -- module Qt5WebKitWidgets found (opt)
403 | -- module Qt5WebSockets found (opt)
404 | -- Detected OS: x11
405 | -- PySide will be generated using the protected hack!
406 | -- Checking for QGtkStyle in QtWidgets -- not found
407 | -- Checking for QMacStyle in QtWidgets -- not found
408 | -- Checking for QSslCertificate in QtNetwork -- not found
409 | -- Checking for QSslCipher in QtNetwork -- not found
410 | -- Checking for QSslConfiguration in QtNetwork -- not found
411 | -- Checking for QSslError in QtNetwork -- not found
412 | -- Checking for QSslKey in QtNetwork -- not found
413 | -- Checking for QSslSocket in QtNetwork -- not found
414 | ```
415 |
--------------------------------------------------------------------------------