QApplication freeze

Java, C++, C#, Delphi... - Using the UNO bridges
Post Reply
whiteshark
Posts: 4
Joined: Mon Nov 08, 2021 5:54 pm

QApplication freeze

Post by whiteshark »

I wanted to write a frontend for a python macro using pyside2 on linux mint 21 and libreoffice 7.4.
If I open a normal terminal and start python 3, entering the following works perfectly:

from PySide2 import QtWidgets, QtCore, QtGui
import sys
app = QtWidgets.QApplication(sys.argv)

However, using the APSO terminal, everything freezes on the third line. This also happens if I put it into a script and run that from writer.
Libreoffice 7.3.7.2, python 3.10.6, on Linux mint 21.1
User avatar
RoryOF
Moderator
Posts: 34618
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: QApplication freeze

Post by RoryOF »

Verify that when using APSO the path to the Qt components is correct.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
whiteshark
Posts: 4
Joined: Mon Nov 08, 2021 5:54 pm

Re: QApplication freeze

Post by whiteshark »

The only path setting I could find in apso is for an external editor.
Libreoffice 7.3.7.2, python 3.10.6, on Linux mint 21.1
Post Reply