<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p> </p>
<div class="moz-text-html" lang="x-unicode">
<p> Looked for this in the archives back through Jan. 2022 with
no success. I am wanting to use the
DelegateChooser/DelegateChoice components in a QML program. In
C++ (and PySide6) this requires<br>
</p>
<p>import Qt.labs.qmlmodels.</p>
<p> Including that line results in the error shown in the
subject above.</p>
<p> I am using Python 3.10 in Kubuntu 22.04 but I see the same
error in Windows 11. I found this suggestion online:</p>
<p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-variant-east-asian: inherit; font-weight: 400;
font-stretch: inherit; line-height: inherit; font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI
Adjusted", "Segoe UI", "Liberation
Sans", sans-serif; font-size: 15px; vertical-align:
baseline; box-sizing: inherit; clear: both; --_pr-img-mb:0;
color: rgb(35, 38, 41); letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-thickness: initial; text-decoration-style:
initial; text-decoration-color: initial;">the pyqt6 folder
doesn't have the Qt folder. So I copy that in pyside6 lib to
pyqt lib.</p>
<p style="margin: 0px 0px 1.1em; padding: 0px; border: 0px;
font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-variant-numeric: inherit;
font-variant-east-asian: inherit; font-weight: 400;
font-stretch: inherit; line-height: inherit; font-family:
-apple-system, BlinkMacSystemFont, "Segoe UI
Adjusted", "Segoe UI", "Liberation
Sans", sans-serif; font-size: 15px; vertical-align:
baseline; box-sizing: inherit; clear: both; --_pr-img-mb:0;
color: rgb(35, 38, 41); letter-spacing: normal; orphans: 2;
text-align: left; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(255, 255,
255); text-decoration-thickness: initial; text-decoration-style:
initial; text-decoration-color: initial;">For me is:from<span> </span><code style="margin: 0px; padding: var(--su2) var(--su4); border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: var(--ff-mono); font-size: var(--_pr-code-fs); vertical-align: baseline; box-sizing: inherit; background-color: var(--black-075); white-space: pre-wrap; color: var(--black-800); border-radius: var(--br-sm);">D:\Python\Python39\Lib\site-packages\PySide6\qml\Qt</code><span> </span>to<span> </span><code style="margin: 0px; padding: var(--su2) var(--su4); border: 0px; font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; line-height: inherit; font-family: var(--ff-mono); font-size: var(--_pr-code-fs); vertical-align: baseline; box-sizing: inherit; background-color: var(--black-075); white-space: pre-wrap; color: var(--black-800); border-radius: var(--br-sm);">D:\Python\Python39\Lib\site-packages\PyQt6\Qt6\qml</code>.</p>
<p></p>
<p> When I copy the Qt directory, which only contains a labs
subdirectory, the 'not installed' error becomes this error:</p>
<p>Cannot load library
/home/jcp/pyqt6apps/SStarter/.venv/lib/python3.10/site-packages/PyQt6/Qt6/qml/Qt/labs/qmlmodels/liblabsmodelsplugin.so:
(libQt6LabsQmlModels.so.6: cannot open shared object file: No
such file or directory)<br>
</p>
<p>( and a similar error in Windows).</p>
<p> Is there a way to load the DelegateChooser/DelegateChoice
components or will this have to wait until they are out of the
labs environment? Thanks in advance for any input.<br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>