[Qt-creator] New user Creator problem

David Schulz David.Schulz at qt.io
Thu Sep 7 10:36:26 CEST 2023


Hi Pete,

Regarding the first question:
If there is a pip in that venv there should be an editor toolbar that allows you to install PySide from the Python Package Index, if that editor toolbar does not appear it sounds like a bug to me that should be reported at: https://bugreports.qt.io.
In the near future I would like to move the installation of required and optional pip packages to the wizard.

Greetings
David

From: Qt-creator <qt-creator-bounces at qt-project.org> On Behalf Of Walter Humphrey via Qt-creator
Sent: 2 September, 2023 23:43
To: qt-creator at qt-project.org
Subject: [Qt-creator] New user Creator problem

I just installed the the Qt apps and created a new project in Qt Creator.  I selected Application (Qt for Python), Qt Quick Application, PySide6 ,Python 3.11 (64 bit), and checked the "Create new virtual environment" box.  I added a text box in the empty window and clicked the Run button.   This generated an error:
    ModuleNotFoundError: No module named 'PySide6'

I went into the project directory, activated venv, and installed PySide6 and it ran ok.  So my first question is, why isn't venv being set up correctly?

Next I installed the QtQuick controls and dropped a Dial widget onto my window.  The dial was not rendered and there is a yellow triangle next to it in the Navigator.  Hovering on that brings up a message that the plugin dll uses an incompatible version of the Qt library (6.5.0).

How can I fix this error so that I can create a functioning qml file that uses QtQuick widgets?

Thanks in advance for your help.

-- Pete Humphrey


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20230907/29b35b92/attachment.htm>


More information about the Qt-creator mailing list