Forum
Sign Up

Crash while running demo examples in PySide2

4 years 3 months ago #1 by Ali Wafer
Hello.
First of all sorry for my poor english.

i installed Python 3.7.7 (32 Bit) on a Windows 7 x64 virtual machine. then i installed PySide2-5.15.0 (32 Bit).
after this steps i installed QtitanComponents 2020.2.1 (Win32 PySide2 Trial).

When running QtitanComponents demo examples eg PyQtitanComponents2020.2.1\examples\ribbon\DialogDemo\DialogDemo.py application crashes when it encounter any of DevMachines import statements.

for example any of below lines force application to quit with no further information about reason of crash (just a Python has stopped working dialog).

from DevMachines import QtitanBase
from DevMachines.QtitanRibbon import RibbonPage

thank you.

Attachments:

Please Log in or Create an account to join the conversation.

More
4 years 3 months ago - 4 years 3 months ago #2 by Developer Machines
The problem is very similar to the fact that the Qt versions do not match. We are using PySide2-Qt 5.14.2 to build the bindings + Python3.7.1.

1. Install python 3.7.1
2. Install PySide2:
pip install PySide2==5.14.2 (to install PySide2 and shiboken2)
3. Install shiboken2-generator if you need to build the Qtitan components bindings from the sources:
pip install --index-url=http://download.qt.io/official_releases/QtForPython/ --trusted-host download.qt.io shiboken2_generator==5.14.2
4. run QtitanComponents trials to install QtitanComponents.
(Make sure we have correctly identified the installation folder, this will be visible during the installation process - if not, remove all the old bindings).

Below is a link to the updated version, which contains a number of bug fixes.
www.devmachines.com/downloads/lkr2Rt20jj...n32_PySide2Trial.exe

Attachments:
Last edit: 4 years 3 months ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.128 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )