Re: [PyQt] Another issue with latest PyQt4 snapshot and Qt5

2012-12-30 Thread Phil Thompson
On Fri, 21 Dec 2012 12:09:03 +0100, Detlev Offenbach
det...@die-offenbachs.de wrote:
 Hello,
 
 here is the next issue I faced. Having resolved the before reported
issue 
 temporarily I tried to compile. However, the linking stage failed. Here
is
 the 
 output.
 
 g++ -c -m64 -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -
 DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DSIP_PROTECTED_IS_PUBLIC -
 Dprotected=public -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB
 -DQT_CORE_LIB 
 -I. -I/usr/include/python3.2mu -I/usr/local/Qt-5.0.0/mkspecs/default -
 I/usr/local/Qt-5.0.0/include/QtMultimedia
 -I/usr/local/Qt-5.0.0/include/QtGui 
 -I/usr/local/Qt-5.0.0/include/QtWidgets -
 I/usr/local/Qt-5.0.0/include/QtPrintSupport -
 I/usr/local/Qt-5.0.0/include/QtCore -I/usr/local/Qt-5.0.0/include -o 
 sipQtMultimediapart6.o sipQtMultimediapart6.cpp
 g++ -shared  -Wl,-O1 -Wl,-rpath,/usr/local/Qt-5.0.0/lib -Wl,--version-
 script=QtMultimedia.exp -o QtMultimedia.so sipQtMultimediapart0.o 
 sipQtMultimediapart1.o sipQtMultimediapart2.o sipQtMultimediapart3.o 
 sipQtMultimediapart4.o sipQtMultimediapart5.o sipQtMultimediapart6.o -
 L/usr/local/Qt-5.0.0/lib -L/usr/X11R6/lib64 -lQtMultimedia -lQtGui
 -lQtWidgets 
 -lQtPrintSupport -lQtCore -lXext -lX11 -lm -lpthread

/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
 cannot find -lQtWidgets

/usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: 
 cannot find -lQtPrintSupport
 
 That is correct because the installed Qt5 libraries are called
 libQt5Widgets.so
 libQt5PrintSupport.so
 and so on.

Should all be fixed with the current SIP and PyQt snapshots.

Phil
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt


Re: [PyQt] Another issue with latest PyQt4 snapshot and Qt5

2012-12-30 Thread Detlev Offenbach
Hello Phil,

thanks for the changes. Everything compiled fine. Now it is time for testing 
eric5 on Qt5 by using it.

Regards,
Detlev

On Sunday 30 December 2012, 11:09:47 Phil Thompson wrote:
 On Fri, 21 Dec 2012 12:09:03 +0100, Detlev Offenbach
 
 det...@die-offenbachs.de wrote:
  Hello,
  
  here is the next issue I faced. Having resolved the before reported
 
 issue
 
  temporarily I tried to compile. However, the linking stage failed. Here
 
 is
 
  the
  output.
  
  g++ -c -m64 -pipe -fPIC -O2 -Wall -W -D_REENTRANT -DNDEBUG -
  DQT_DISABLE_DEPRECATED_BEFORE=0x040900 -DSIP_PROTECTED_IS_PUBLIC -
  Dprotected=public -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB
  -DQT_CORE_LIB
  -I. -I/usr/include/python3.2mu -I/usr/local/Qt-5.0.0/mkspecs/default -
  I/usr/local/Qt-5.0.0/include/QtMultimedia
  -I/usr/local/Qt-5.0.0/include/QtGui
  -I/usr/local/Qt-5.0.0/include/QtWidgets -
  I/usr/local/Qt-5.0.0/include/QtPrintSupport -
  I/usr/local/Qt-5.0.0/include/QtCore -I/usr/local/Qt-5.0.0/include -o
  sipQtMultimediapart6.o sipQtMultimediapart6.cpp
  g++ -shared  -Wl,-O1 -Wl,-rpath,/usr/local/Qt-5.0.0/lib -Wl,--version-
  script=QtMultimedia.exp -o QtMultimedia.so sipQtMultimediapart0.o
  sipQtMultimediapart1.o sipQtMultimediapart2.o sipQtMultimediapart3.o
  sipQtMultimediapart4.o sipQtMultimediapart5.o sipQtMultimediapart6.o -
  L/usr/local/Qt-5.0.0/lib -L/usr/X11R6/lib64 -lQtMultimedia -lQtGui
  -lQtWidgets
  -lQtPrintSupport -lQtCore -lXext -lX11 -lm -lpthread
 
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
  cannot find -lQtWidgets
 
 /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld:
  cannot find -lQtPrintSupport
  
  That is correct because the installed Qt5 libraries are called
  libQt5Widgets.so
  libQt5PrintSupport.so
  and so on.
 
 Should all be fixed with the current SIP and PyQt snapshots.
 
 Phil
 ___
 PyQt mailing listPyQt@riverbankcomputing.com
 http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-- 
Detlev Offenbach
det...@die-offenbachs.de___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Strange observation with Qt5/PyQt4

2012-12-30 Thread Detlev Offenbach
Hello,

testing eric5 with Qt5 and latest PyQt4 snapshot raised a strange observation. 
The eric5 Web Browser shows dialog windows generated by Qt5 with content like

Trying to construct an instance of an invalid type, type id: 627995709

Does anybody have an idea what could causing this?

Detlev
-- 
Detlev Offenbach
det...@die-offenbachs.de___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

[PyQt] Trying to install Eric 4

2012-12-30 Thread Alan Corey
This seems like mostly a pyqt problem, as far as I know.  From my logs:

I have qt4-4.7.3p0 also qt3-mt-3.8p5, using qmake from 4
I have python-2.7.1p9, also python-2.5.4p13, using 2.7.1
I have QScintilla-gpl-2.7 and installed Python bindings
I have py-qt4-4.8.4p0v0 (OpenBSD name for PyQt-x11-gpl-4.8.4.tar.gz)

From the eric4-4.5.7 install:

freebie# python2.7 install.py
Checking dependencies
Python Version: 2.7.1
Found PyQt4
Found QtHelp
Sorry, please install QScintilla2 and
it's PyQt4 wrapper.
Error: Cannot load specified object

What specified object?

In the QScintilla files there's a Python dir, I installed that after
the main QScintilla install.  Is there something else to bind it to
PyQt?  I'm running OpenBSD 5.0, building from sources (no binary
packages, RPMs etc.).  Things were going well until this.  I'm not
sure f it wants something else or if it's not finding something that's
already installed.

  Alan

-- 
Credit is the root of all evil.  - AB1JX
___
PyQt mailing listPyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt