Detlev Offenbach wrote:
On Samstag, 14. Juni 2008, Jaime Seuma wrote:
Detlev Offenbach wrote:
On Freitag, 13. Juni 2008, Jaime Seuma wrote:
So I did...
Everything went ok but eric4 (4.4.1.4 or 4.4.1.5) won't install.
It complains about the entry point
_ZNK15QsciLexerPython20indentationGuideViewEv not being found on
qscintilla.dll; and the installer then asks (very politely :-) )to
install qscintilla2 and its pyqt4 wrapper. Which I have already
installed btw.
Did you generate the QScintilla2 python bindings after the installation
of PyQt4?
I suposse so; I've followed the install sequence as follows:
-> python25 (already installed, haven't uninstalled-reinstalled back
-> qt-> got rid of previous compilation-install, then downloaded de
qt-4.4.0 bundle (not compiled from src, mind you) and installed it.
-> sip-4.7.6->configure.py, mingw32-make && mingw32-make install
-> QScintilla-gpl-2.2\qt4: qmake qscintilla.pro, mingw32-make &&
mingw32-make install
-> PyQt-win-gpl-4.4.2: configure.py, mingw32-make && mingw32-make install
-> QScintilla-gpl-2.2\Python: configure.py, mingw32-make && mingw32-make
install
And then
-> eric4-4.1.4: install.py => get the forementioned error.
In C:\Python25\Lib\site-packages\PyQt4 is the file qsci.pyd (along with
the different qt*.pyc files). In C:\Qt\4.4.0\bin and C:\Qt\4.4.0\Lib
there is the file qscintilla2.dll
Did you copy qscintilla2.dll from C:\Qt\4.4.0\Lib to C:\Qt\4.4.0\bin yourself?
Over here only the first one is installed by make install and I have to copy
it to the bin directory myself. Another point to check for is whether there
is a qscintilla2.dll somewhere else on your system. You should also ensure,
that C:\Qt\4.4.0\bin comes first in your PATH. The error message indicates,
that the loaded dll is incompatible. In a python shell you could try
from PyQt4 import Qsci
Dettley: thank you very much.
You have the right to think that I'm completely stupid. You'd be right!
The one qscintilla2.dll living in .../bin is a copy a made of the one
living in /lib.
But, and here is the trick, I must have put, maybe a year ago or so, an
old qscintilla2.dll in *c:\windows
*Once I have deleted this, eric installs fine.
Again, thank you very much.
Note: I still can't import QtWebkit. But I'll find why!
Is it possible that something is missing with the pythonpath or something?
In the other hand, in Python25_home/Lib/site-packages/pyqt4 there is now
a file called QtWebKit.pyd, which means that qtwebkit should be
availaible. But the script I had left pyuic write for me (from a .ui
file) still doesn't work...
I'll have to spend some more hours on the subject, I'm afraid.
All the same, thank u Phil.
[EMAIL PROTECTED] wrote:
Send Eric mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://www.riverbankcomputing.com/mailman/listinfo/eric
or, via email, send a message with subject or body 'help' to
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eric digest..."
Today's Topics:
1. QWebKit/eric 4 (Jaime Seuma)
2. Re: QWebKit/eric 4 (Phil Thompson)
----------------------------------------------------------------------
Message: 1
Date: Wed, 11 Jun 2008 14:20:34 +0200
From: Jaime Seuma <[EMAIL PROTECTED]>
Subject: [Eric] QWebKit/eric 4
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi
I've been implementing a small webbrowser based in QtWebKit, in C++.
It' works ok, I wanted to give it a try using python/eric.
QtWebKit has been added to qt library base in the 4.4.0 release, afaik.
I had compiled it in my pc. this stuff:
eric4-4.1.4
PyQt-win-gpl-4.3.3
sip-4.7.3
qt-win-opensource-src-4.4.0
When I try to execute a python script that imports the stuff needed,
this line:
'from QtWebKit.QWebView import QWebView'
raises a except:
"No module named QtWekKit.QWebView"
What do u think? Should I dismiss my current installs of pyqt, etc and
download more recent version?
Does anyone have a clue on this particular subject?
Thanx in advance
Jaime
------------------------------
Message: 2
Date: Wed, 11 Jun 2008 13:44:21 +0100
From: Phil Thompson <[EMAIL PROTECTED]>
Subject: Re: [Eric] QWebKit/eric 4
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
On Wednesday 11 June 2008 1:20:34 pm Jaime Seuma wrote:
Hi
I've been implementing a small webbrowser based in QtWebKit, in C++.
It' works ok, I wanted to give it a try using python/eric.
QtWebKit has been added to qt library base in the 4.4.0 release,
afaik.
I had compiled it in my pc. this stuff:
eric4-4.1.4
PyQt-win-gpl-4.3.3
sip-4.7.3
qt-win-opensource-src-4.4.0
When I try to execute a python script that imports the stuff needed,
this line:
'from QtWebKit.QWebView import QWebView'
raises a except:
"No module named QtWekKit.QWebView"
What do u think? Should I dismiss my current installs of pyqt, etc and
download more recent version?
Yes.
Does anyone have a clue on this particular subject?
Thanx in advance
Jaime
Phil
------------------------------
_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric
End of Eric Digest, Vol 24, Issue 8
***********************************
_______________________________________________
Eric mailing list
[email protected]
http://www.riverbankcomputing.com/mailman/listinfo/eric