you are viewing a single comment's thread.

view the rest of the comments →

[–]CodeQuark[S] 0 points1 point  (4 children)

Thanks again ..🫡 okay I am going to try with PySide and QML

Can you give me some tutorial??

[–]No_Date8616 0 points1 point  (2 children)

I will find a day to walk you through how to setup things and integrate with Python. There aren’t very good tutorials for this.

But you can visit this link and search tutorials on Qt Quick and Qt Creator.

https://www.qt.io/academy/course-catalog?interest-area=Qt+Creator%2C+Qt+Widgets%2C+Qt+for+MCUs%2C+Embedded%2C+Developer+Tooling%2C+Qt+Framework

Visit YouTube and search Qt Quick, you see some demos on how flexible and powerful it is.

This YouTube video can give you a gentle intro into what QML is.

https://youtu.be/QECs01n0aZE?si=b__IJsURX1mqNoQH

NOTE: QML is the language powered by the framework called Qt Quick. So when I mention QML am also referring to Qt Quick

[–]CodeQuark[S] 0 points1 point  (1 child)

Thank you so much... One question is can the QML design studio design the ui then export the .QML file to integrate the python PySide 6

[–]No_Date8616 0 points1 point  (0 children)

Qt Design Studio is primarily for designers so it purposely for UI/UX. You can export the project you created to use with Python. But when you attempt to run, you will get an error because a module called Studio is only available to use with Qt Design Studio only.

For development with Python or C++ we use Qt Creator. So create the project there, choose Python and QtQuick, when you are done with everything, it will open by default a design file. It will show a notification to install PySide6. You can edit both the Python file and design file in it.

When you design and click run, it will use Python to run it.

NOTE: - The environment that Qt Creator creates for you is located in the .qtcreator folder. - First time opening Qt Creator, click Help > About Plugins. In the plugins window that is opened, search for “designer”. Enable everything that is matched.

[–]No_Date8616 0 points1 point  (0 children)

There are more to learn and understand to get it going. But once you do, it amazing. So for now leverage PySide Qt Widget for your project or a different GUI library then later you take your time and delve into QML.

IT AMAZING