• Welcome to OS2World OLD-STATIC-BACKUP Forum.
 

News:

This is an old OS2World backup forum for reference only. IT IS READ ONLY!!!

If you need help with OS/2 - eComStation visit http://www.os2world.com/forum

Main Menu

PyQT4

Started by Paul Smedley, 2012.04.02, 15:38:11

Previous topic - Next topic

Paul Smedley

Hi All,

Needed to post this: http://smedley.id.au/eric4.png

PyQt4/2 is starting to work :)

Will try get a binary out for Easter.

Cheers,

Paul

Paul Smedley

and for those that are wondering, PyQT4 is a python interface to Qt4 - see http://www.riverbankcomputing.co.uk/software/pyqt/intro for details

Eric4 (seen in the screenshot) is a Python based IDE that uses PyQt4 - see http://eric-ide.python-projects.org/index.html for details

Paul Smedley

Oh and PyQt4 also partly explains what's been keeping me quiet recently :)

Blonde Guy

Now I'm going to have to learn Python.
Expert Consulting for OS/2 and eComStation

Paul Smedley

Quote from: Blonde Guy on 2012.04.02, 18:23:00
Now I'm going to have to learn Python.

Test build available from http://smedley.id.au/pyqt-gpl-4.9.1-os2-20120404.zip

Needs Python 2.7.2 & Qt 4.7.3

Apps like eric4 should install/run - note eric4 needs qscint28.dll from http://smedley.id.au/qscint28.zip

alstaszko

After a recent catastrophe, before which Python2.7.2 worked,  I have reinstalled eCS2.0 and restored my working system.
I have installed Python 2.7.2 again and when I run it from the command line it doesn't respond to input from the keyboard and
the CPU is being chewed up at 99%.

This is the output when using the -d and -v options:

[C:\]python -v -d
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# d:/python27/Lib/site.pyc matches d:/python27/Lib/site.py
import site # precompiled from d:/python27/Lib/site.pyc
# d:/python27/Lib/os.pyc matches d:/python27/Lib/os.py
import os # precompiled from d:/python27/Lib/os.pyc
import errno # builtin
import os2 # builtin
# d:/python27/Lib/os2knixpath.pyc matches d:/python27/Lib/os2knixpath.py
import os2knixpath # precompiled from d:/python27/Lib/os2knixpath.pyc
# d:/python27/Lib/stat.pyc matches d:/python27/Lib/stat.py
import stat # precompiled from d:/python27/Lib/stat.pyc
# d:/python27/Lib/genericpath.pyc matches d:/python27/Lib/genericpath.py
import genericpath # precompiled from d:/python27/Lib/genericpath.pyc
# d:/python27/Lib/ntpath.pyc matches d:/python27/Lib/ntpath.py
import ntpath # precompiled from d:/python27/Lib/ntpath.pyc
# d:/python27/Lib/warnings.pyc matches d:/python27/Lib/warnings.py
import warnings # precompiled from d:/python27/Lib/warnings.pyc
# d:/python27/Lib/linecache.pyc matches d:/python27/Lib/linecache.py
import linecache # precompiled from d:/python27/Lib/linecache.pyc
# d:/python27/Lib/types.pyc matches d:/python27/Lib/types.py
import types # precompiled from d:/python27/Lib/types.pyc
# d:/python27/Lib/UserDict.pyc matches d:/python27/Lib/UserDict.py
import UserDict # precompiled from d:/python27/Lib/UserDict.pyc
# d:/python27/Lib/_abcoll.pyc matches d:/python27/Lib/_abcoll.py
import _abcoll # precompiled from d:/python27/Lib/_abcoll.pyc
# d:/python27/Lib/abc.pyc matches d:/python27/Lib/abc.py
import abc # precompiled from d:/python27/Lib/abc.pyc
# d:/python27/Lib/_weakrefset.pyc matches d:/python27/Lib/_weakrefset.py
import _weakrefset # precompiled from d:/python27/Lib/_weakrefset.pyc
import _weakref # builtin
# d:/python27/Lib/copy_reg.pyc matches d:/python27/Lib/copy_reg.py
import copy_reg # precompiled from d:/python27/Lib/copy_reg.pyc
# d:/python27/Lib/traceback.pyc matches d:/python27/Lib/traceback.py
import traceback # precompiled from d:/python27/Lib/traceback.pyc
# d:/python27/Lib/sysconfig.pyc matches d:/python27/Lib/sysconfig.py
import sysconfig # precompiled from d:/python27/Lib/sysconfig.pyc
# d:/python27/Lib/re.pyc matches d:/python27/Lib/re.py
import re # precompiled from d:/python27/Lib/re.pyc
# d:/python27/Lib/sre_compile.pyc matches d:/python27/Lib/sre_compile.py
import sre_compile # precompiled from d:/python27/Lib/sre_compile.pyc
import _sre # builtin
# d:/python27/Lib/sre_parse.pyc matches d:/python27/Lib/sre_parse.py
import sre_parse # precompiled from d:/python27/Lib/sre_parse.pyc
# d:/python27/Lib/sre_constants.pyc matches d:/python27/Lib/sre_constants.py
import sre_constants # precompiled from d:/python27/Lib/sre_constants.pyc
import encodings # directory d:/python27/Lib/encodings
# d:/python27/Lib/encodings/__init__.pyc matches d:/python27/Lib/encodings/__init__.py
import encodings # precompiled from d:/python27/Lib/encodings/__init__.pyc
# d:/python27/Lib/codecs.pyc matches d:/python27/Lib/codecs.py
import codecs # precompiled from d:/python27/Lib/codecs.pyc
import _codecs # builtin
# d:/python27/Lib/encodings/aliases.pyc matches d:/python27/Lib/encodings/aliases.py
import encodings.aliases # precompiled from d:/python27/Lib/encodings/aliases.pyc
# d:/python27/Lib/encodings/latin_1.pyc matches d:/python27/Lib/encodings/latin_1.py
import encodings.latin_1 # precompiled from d:/python27/Lib/encodings/latin_1.pyc
Python 2.7.2 (default, Jan  8 2012, 07:07:57)
[GCC 4.4.6] on os2knix
Type "help", "copyright", "credits" or "license" for more information.
dlopen("d:/python27/Lib/lib-dynload/readline.pyd", 0);
import readline # dynamically loaded from d:/python27/Lib/lib-dynload/readline.pyd
>>>


Any suggestions, please.

Andy Staszko

Paul Smedley

I saw a similar thing when running python.exe with no parameters from the command line - seems it won't accept keyboard input - I will investigate when I get time...

but... that has nothing to do with PyQt4 which is appears nobody is really interested in :(

ivan

Quote from: Paul Smedley on 2012.04.07, 00:51:36
but... that has nothing to do with PyQt4 which is appears nobody is really interested in :(
I wouldn't say I'm not interested - I'm not a programmer but if it is simple I'm prepared to try and most probably fail.

My main interest is trying to get Sigil 0.5.3 working on OS/2 - the version you ported still works but doesn't handle some of the newer e-pubs that are about.

ivan

abwillis

I'm interested but have only had time to download it and not anything beyond and am not sure I will for a week or so.