ts2 / ts2

TS2 - Train Signalling Simulator
http://ts2.github.io
GNU General Public License v2.0
52 stars 24 forks source link

pyQt5 related issues on Linux #119

Open mdziczkowski opened 1 year ago

mdziczkowski commented 1 year ago

Environment

Issue description

Even if I have installed the latest PyQt5, TS2 is complaining about beeing unable to load some of it's components (QtCore, QtWidget, etc.)

Additionally, the * .py files iin seperate directories, instead of referencing itself to the Qt.py file that loads PyQy5 have in each the Qt import with cause additional problems related to mentioned above issue.

Would be possible to fix it? Thanks and keep up the good work ;-)

pedromorgan commented 1 year ago

Strange...there from Qt import but it doth not exist

from Qt import QtCore, QtGui, QtWidgets, Qt

pedromorgan commented 1 year ago

OOPS above is incorrect, Its in root.

@mdziczkowski make sure the "ts2/" project/root directory in in your path