Re: [PyQt] how to install Pyqt4 on OS X ?
PyQtX is only available for 2.7 3.x On Wed, Apr 24, 2013 at 12:11 PM, James Ross jrossl...@outlook.com wrote: i am using python 2.6 so probably Python2 and is this really required - Install the latest Qt 5.0.2 for Mac (binary install) from qt-project.orghttp://qt-project.org if yes i would need Qt4 That was a description of building from source. I could be wrong, but to compile and install from source, you need the complete Qt SDK w/ the libs ... It sounds like you could just use the PyQtX distribution (referenced from the riverbank page) at http://sourceforge.net/projects/pyqtx/files/Complete/ James ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt -- ** [image: San's personal blog] http://feeds.feedburner.com/SanLuthraBlog * * ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
The easiest way on Windows is to use the PyQt4 windows installer. After that just run the eric install script. Regards, Detlev On Saturday 27 April 2013, 04:23:30 al wrote: Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt- win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt- win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above *Detlev Offenbach* det...@die-offenbachs.de ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[PyQt] How to right align rich text (HTML) in a QLabel?
I asked the following question on StackOverflow but didn't get an answer. Perhaps people here can help. I have a simple task. I want to right align richtext (HTML) in a PyQt QLabel. The QLabel works fine until I resize the widget making it *smaller* than the text length. At that point, the text to the right gets cut off. The QLabel works properly with plain text. In the PyQt example below, I list numbers one to ten. I want to always see the number 'ten' even when I resize the widget. It works for plain text (labelPT) but breaks for richtext (labelRT). How can I get the labelRT version working properly? Any help would be very welcome. Laurence from PyQt4 import QtGui, QtCore import sys if __name__ == '__main__': app = QtGui.QApplication(sys.argv) mw = QtGui.QWidget() labelPT = QtGui.QLabel() labelPT.setText('one two three four five six seven eight nine ten') labelPT.setAlignment(QtCore.Qt.AlignRight) labelRT = QtGui.QLabel() labelRT.setText('one two three four bfive/b six seven eight nine ten') labelRT.setAlignment(QtCore.Qt.AlignRight) vbox = QtGui.QVBoxLayout() vbox.addWidget(labelPT) vbox.addWidget(labelRT) mw.setLayout(vbox) mw.setMinimumWidth(30) mw.show() sys.exit(app.exec_()) ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
I have downloaded PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 which requests a phyton 3.3.x So I installed Phyten 3.3.1 and PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 Which leads to G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Sorry, please install QtHelp. Error: DLL load failed: %1 ist keine zulässige Win32-Anwendung. Press enter to continue... So what do I have to do? Any explanation what do I have to take care of? Von: Detlev Offenbach det...@die-offenbachs.de An: pyqt@riverbankcomputing.com; al comtronic...@yahoo.com Gesendet: 13:05 Samstag, 27.April 2013 Betreff: Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10 The easiest way on Windows is to use the PyQt4 windows installer. After that just run the eric install script. Regards, Detlev On Saturday 27 April 2013, 04:23:30 al wrote: Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
Could it be the case, that you have a mix of architectures installed, i.e. Python 32-bit and PyQt4 64-bit? Please note, that eric5 support for Qt5 is still marked as experimental. If you want to get a stable configuration please use the PyQt4 installer containing Qt 4.8.4. Detlev On Saturday 27 April 2013, 06:22:11 al wrote: I have downloaded PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 which requests a phyton 3.3.x So I installed Phyten 3.3.1 and PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 Which leads to G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Sorry, please install QtHelp. Error: DLL load failed: %1 ist keine zulässige Win32-Anwendung. Press enter to continue... So what do I have to do? Any explanation what do I have to take care of? The easiest way on Windows is to use the PyQt4 windows installer. After that just run the eric install script. Regards, Detlev On Saturday 27 April 2013, 04:23:30 al wrote: Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt- win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt- win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above *Detlev Offenbach* det...@die-offenbachs.de *Detlev Offenbach* det...@die-offenbachs.de ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
At the end I got much further: G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Found QtHelp Found QScintilla2 Found QtGui Found QtNetwork Found QtSql Found QtSvg Found QtWebKit Qt Version: 4.8.4 PyQt Version: 4.10.1 QScintilla Version: 2.7.1 All dependencies ok. Compiling user interface files... Compiling source files... Installing eric5 ... Installation complete. Press enter to continue... But starting ERIC5 says G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2\ericpython eric5.py An unhandled exception occurred. Please report the problem using the error reporting dialog or via email to eric5-bugs@eric-ide.python-pro jects.org. A log has been written to C:\Users\comtronic2013\_eric5\eric5_error.log. Error information: 2013-04-27, 17:36:41 class 'ImportError': cannot import name pyqtconfig File eric5.py, line 274, in module main() File eric5.py, line 194, in main Startup.setLibraryPaths() File G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2\eric\Toolbox\Startup.p y, line 134, in setLibraryPaths from PyQt4 import pyqtconfig Version Numbers: Python 3.3.1 Qt 4.8.4 PyQt4 4.10.1 sip 4.14.5 QScintilla 2.7.1 WebKit 534.34 eric5 5.3.2 (rev c8a6412d098a) Platform: win32 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 20:25:12) [MSC v.1600 32 bit (Intel)] I do not give up yet ;-) Any help warmly appreciated ... Von: Detlev Offenbach det...@die-offenbachs.de An: pyqt@riverbankcomputing.com; al comtronic...@yahoo.com Gesendet: 14:28 Samstag, 27.April 2013 Betreff: Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10 Could it be the case, that you have a mix of architectures installed, i.e. Python 32-bit and PyQt4 64-bit? Please note, that eric5 support for Qt5 is still marked as experimental. If you want to get a stable configuration please use the PyQt4 installer containing Qt 4.8.4. Detlev On Saturday 27 April 2013, 06:22:11 al wrote: Ihave downloaded PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 which requests a phyton 3.3.x So I installed Phyten 3.3.1 and PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 Which leads to G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Sorry, please install QtHelp. Error: DLL load failed: %1 ist keine zulässige Win32-Anwendung. Press enter to continue... So what do I have to do? Any explanation what do I have to take care of? The easiest way on Windows is to use the PyQt4 windows installer. After that just run the eric install script. Regards, Detlev On Saturday 27 April 2013, 04:23:30 al wrote: Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above -- Detlev Offenbach det...@die-offenbachs.de -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] QsciScintilla with multiple documents
Should I just be creating multiple QsciScintilla to make the multiple document system? This is what I ended up doing. I put them in a QStackedLayout. It works quite well. The QsciScintilla API is much easier to use than QTextEdit and it has a lot of nice extra features built in. Code here if anyone is interested: https://code.google.com/p/pynguin/source/browse/ ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
Well, that will be fixed in the next release. Unfortunately Phil removed that file from the installer. Detlev On Saturday 27 April 2013, 08:44:58 al wrote: At the end I got much further: G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Found QtHelp Found QScintilla2 Found QtGui Found QtNetwork Found QtSql Found QtSvg Found QtWebKit Qt Version: 4.8.4 PyQt Version: 4.10.1 QScintilla Version: 2.7.1 All dependencies ok. Compiling user interface files... Compiling source files... Installing eric5 ... Installation complete. Press enter to continue... But starting ERIC5 says G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2\ericpython eric5.py An unhandled exception occurred. Please report the problem using the error reporting dialog or via email to eric5-bugs@eric- ide.python-pro jects.org. A log has been written to C:\Users\comtronic2013\_eric5\eric5_error.log. Error information: 2013-04-27, 17:36:41 class 'ImportError': cannot import name pyqtconfig File eric5.py, line 274, in module main() File eric5.py, line 194, in main Startup.setLibraryPaths() File G: \Download\Programmieren\eric5-5.3.2\eric5-5.3.2\eric\Toolbox\Startup.p y, line 134, in setLibraryPaths from PyQt4 import pyqtconfig Version Numbers: Python 3.3.1 Qt 4.8.4 PyQt4 4.10.1 sip 4.14.5 QScintilla 2.7.1 WebKit 534.34 eric5 5.3.2 (rev c8a6412d098a) Platform: win32 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 20:25:12) [MSC v.1600 32 bit (Intel)] I do not give up yet ;-) Any help warmly appreciated ... Could it be the case, that you have a mix of architectures installed, i.e. Python 32-bit and PyQt4 64-bit? Please note, that eric5 support for Qt5 is still marked as experimental. If you want to get a stable configuration please use the PyQt4 installer containing Qt 4.8.4. Detlev On Saturday 27 April 2013, 06:22:11 al wrote: ___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt
Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10
Hi Detlev, when is the next release planned? Can you maybe mail me the missing file and a short instruction where to put it so I will be able to start ERIC 5? Thank you for your support so far Von: Detlev Offenbach det...@die-offenbachs.de An: pyqt@riverbankcomputing.com; al comtronic...@yahoo.com CC: eric5-b...@eric-ide.python-projects.org eric5-b...@eric-ide.python-projects.org Gesendet: 19:14 Samstag, 27.April 2013 Betreff: Re: [PyQt] Installing Eric Python IDE got stuck at PyQt-win-gpl-4.10 Well, that will be fixed in the next release. Unfortunately Phil removed that file from the installer. Detlev On Saturday 27 April 2013, 08:44:58 al wrote: At the end I got much further: G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Found QtHelp Found QScintilla2 Found QtGui Found QtNetwork Found QtSql Found QtSvg Found QtWebKit Qt Version: 4.8.4 PyQt Version: 4.10.1 QScintilla Version: 2.7.1 All dependencies ok. Compiling user interface files... Compiling source files... Installing eric5 ... Installation complete. Press enter to continue... But starting ERIC5 says G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2\ericpython eric5.py An unhandled exception occurred. Please report the problem using the error reporting dialog or via email to eric5-bugs@eric-ide.python-pro jects.org. A log has been written to C:\Users\comtronic2013\_eric5\eric5_error.log. Error information: 2013-04-27, 17:36:41 class 'ImportError': cannot import name pyqtconfig File eric5.py, line 274, in module main() File eric5.py, line 194, in main Startup.setLibraryPaths() File G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2\eric\Toolbox\Startup.p y, line 134, in setLibraryPaths from PyQt4 import pyqtconfig Version Numbers: Python 3.3.1 Qt 4.8.4 PyQt4 4.10.1 sip 4.14.5 QScintilla 2.7.1 WebKit 534.34 eric5 5.3.2 (rev c8a6412d098a) Platform: win32 3.3.1 (v3.3.1:d9893d13c628, Apr 6 2013, 20:25:12) [MSC v.1600 32 bit (Intel)] I do not give up yet ;-) Any help warmly appreciated ... Could it be the case, that you have a mix of architectures installed, i.e. Python 32-bit and PyQt4 64-bit? Please note, that eric5 support for Qt5 is still marked as experimental. If you want to get a stable configuration please use the PyQt4 installer containing Qt 4.8.4. Detlev On Saturday 27 April 2013, 06:22:11 al wrote: Ihave downloaded PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 which requests a phyton 3.3.x So I installed Phyten 3.3.1 and PyQt4-4.10.1-gpl-Py3.3-Qt5.0.2-x64 Which leads to G:\Download\Programmieren\eric5-5.3.2\eric5-5.3.2python install.py Checking dependencies Python Version: 3.3.1 Found PyQt4 Sorry, please install QtHelp. Error: DLL load failed: %1 ist keine zulässige Win32-Anwendung. Press enter to continue... So what do I have to do? Any explanation what do I have to take care of? The easiest way on Windows is to use the PyQt4 windows installer. After that just run the eric install script. Regards, Detlev On Saturday 27 April 2013, 04:23:30 al wrote: Hello all, I am struggling my way trough installing the ERIC Python IDE on Win8: and got stuck at PyQt-win-gpl-4.10 with following error message: mingw32-make[1]: Entering directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10 /PyQt-win-gpl-4.10/QtCore' makefile:30: warning: overriding recipe for target '.c.o' makefile:27: warning: ignoring old recipe for target '.c.o' Der Befehl legacy ist entweder falsch geschrieben oder konnte nicht gefunden werden. makefile:40: recipe for target 'install' failed mingw32-make[1]: *** [install] Error 1 mingw32-make[1]: Leaving directory 'G:/Download/Programmieren/PyQt-win-gpl-4.10/ PyQt-win-gpl-4.10/QtCore' makefile:28: recipe for target 'install' failed mingw32-make: *** [install] Error 2 I have been searching for hints how to resolve this problem but could not find anything. Would be nice if someone could give me a info how I could proceed -- python configure.py (python configure.py -p win32-g++) - both work mingw32-make - works fine mingw32-make install - throws the error posted above -- Detlev Offenbach det...@die-offenbachs.de -- Detlev Offenbach det...@die-offenbachs.de -- Detlev Offenbach det...@die-offenbachs.de___ PyQt mailing listPyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt