Hey Filippo,

Since the submodule was removed in 'dev', that's why
it end up empty when you switch to the '5.15' branch, but you just
need to initialize it, look at these steps.

I hope it helps you,

Cheers


% git clone --recursive https://code.qt.io/pyside/pyside-setup
Cloning into 'pyside-setup'...
remote: Counting objects: 67731, done.
remote: Compressing objects: 100% (18501/18501), done.
remote: Total 67731 (delta 52307), reused 63081 (delta 47762)
Receiving objects: 100% (67731/67731), 22.05 MiB | 22.99 MiB/s, done.
Resolving deltas: 100% (52307/52307), done.

% cd pyside-setup

% git co 5.15
Branch '5.15' set up to track remote branch '5.15' from 'origin'.
Switched to a new branch '5.15'

% ls sources/pyside2-tools

% git submodule update --init
Submodule 'sources/pyside2-tools' (https://code.qt.io/pyside/pyside-tools.git) registered for path 'sources/pyside2-tools'
Cloning into '/home/cmaureir/tmp/pyside-setup/sources/pyside2-tools'...
Submodule path 'sources/pyside2-tools': checked out 'a8448837204faee0b457d1e2d4cbf574a2811114'

% ls sources/pyside2-tools
pylupdate/ tests/ CMakeLists.txt LICENSE-lupdate LICENSE-rcc LICENSE-uic README.md cmake_uninstall.cmake pyside_tool.py* qt_attribution.json


On 11/19/20 10:30 AM, Filippo Rusconi via PySide wrote:
Greetings, fellow developers,

in my relentless quest of Python bindings for my software I am struggling to
build Pyside2/Shiboken2 according to this page:

https://doc.qt.io/qtforpython/gettingstarted-linux.html

I set up all my build tools to point to clang/clang++.

Then I cloned:

git clone --recursive https://code.qt.io/pyside/pyside-setup

And found that the sources directory had this content:

     cmake_helpers  patchelf  pyside6  pyside-tools  shiboken6

The sources/pyside-tools directory contained these two files:

     CMakeLists.txt  pyside_tool.py

Then I checked out 5.15:

     git checkout 5.15

And discovered that pyside-tools became pyside2-tools and is now empty.

I tried to find the contents of pyside2-tools on the web, but I could not.

At https://code.qt.io/cgit/pyside/pyside-setup.git/, branch 5.15, looking at the
source tree, I see
https://code.qt.io/cgit/pyside/pyside-setup.git/tree/sources?h=5.15, but the sources directory contains sources/pyside2-tools @ a844883, which, when clicked
is an Invalid commit reference: a8448837204faee0b457d1e2d4cbf574a2811114.

Where can I find a source tree that actually contains something for
pyside-setup/sources/pyside2-tools ?

Thank you,

Filippo


--
Dr. Cristián Maureira-Fredes
R&D Manager

The Qt Company GmbH
Erich-Thilo-Str. 10
D-12489 Berlin

Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin,
Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
_______________________________________________
PySide mailing list
PySide@qt-project.org
https://lists.qt-project.org/listinfo/pyside

Reply via email to