AFAIK, both packages can coexist in the same environment as they come each with their own build of Qt.
However, to get better help, as @jsulm suggested, you should bring that issue to the Salome forum.
@abiabi
Because Qt Designer/Creator is not particularly Python-oriented.
The accepted solution from @eyllanesc is the way to go, as with his other Python posts.
Hum I am using poetry and as it is showed in the project, there is no specified version (so it takes the latest if available). It works perfectly out of the poetry world yes for sure, but not in poetry one...
@BGrimaud
If you delete the ui_...py file and resave does that recreate it, and reflect new changes?
Do you have the option to try a newer version of Creator?
Please run your app in debugger to see where that happens
Dear @jsulm,
Thank you for your suggestion. I did execute the application using the debugger; however, it encountered an issue at the first line of the init_gl function, displaying a message indicating "disconnected unexpectedly." Unfortunately, no further information was provided.
We actually provide a tool,
pyside6-project , which defines a simple project file format and can do these steps automatically and can also be opened in Qt Creator.
@RemDup
The alternative way which should work is not to load the stacked widget initially. Show the main window and set off a 0 duration singleshot timer before entering the main event loop. In the slot, which will be run just after the main window (or whatever) is shown, create and load the other widgets.
@friedemannkleint The data that the model provides is not displayed in the tableview. When button is clicked, it should be emitting signal with the model that carries the data, so model=null is turned into model=actual data, then the data should be displayed on tableview. As you can see I've left part of the TableView block empty so someone could suggest the solution to this.