Hi everyone,

I have finished the installation of QGIS 2.14 on Centos 7.
For example a lot of ui files uses QWebView which I have to replace with 
Here is the list with errors:

1.      vector.py from /usr/share/qgis/python/plugins/processing/tools.

a.      Fails at the line import spatialite_utils because spatialite_utils;

b.      Since I do not use spatialite I decided to comment out the line;

2.      DlgResults.ui, DlgHelpEdition.ui, DlgAlgorithmBase.ui, 
DlgGetScriptsAndModels.ui contains QWebView but when these are loaded an error 
pops up: ImportError: No module named QtWebKit.QWebView.

a.      I have found two possible solutions to fix this:

                                                    i.     Replace the QWebView 
with QTextBrowser in ui file;

                                                   ii.     Find the python file 
responsible with loading of each ui file and introduce the import statement:

From PyQt4.QtWebKit import QWebView

For example for DlgResults.ui file I have to modify the file ResultsDialog.py

I implemented the first fix

b.  In the file ModelerParametersDialog.py I have added from PyQt4.QtGui import 
QTextBrowser as QWebView

                     i.   I think you do not have to add this line if you 
implement the second fix from a)

3.  ImportError: No module named Qsci.qsciscintilla on the file 

a.  I had to replace the statement from Qsci.qsciscintilla import QsciScintilla 
with from PyQt4.Qsci import QsciScintilla

Please let me know if you have any question.


This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.
Qgis-user mailing list
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to