<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <pre class="western"><b>QtPy5.QtGui Problem:</b></pre>
    <pre class="western">
Hopefully this is a "newbe" problem and I have just missed something>
</pre>
    <pre class="western">I get the following results when trying PyQt5 on
my Raspberry PI.</pre>
    <pre class="western">

</pre>
    <pre class="western">pi@raspberrypi /opt/Projects/DataDisplay $
python3</pre>
    <pre class="western">Python 3.2.3 (default, Mar  1 2013, 11:53:50) 
</pre>
    <pre class="western">[GCC 4.6.3] on linux2</pre>
    <pre class="western">Type "help", "copyright",
"credits" or "license" for more information.</pre>
    <pre class="western">>>> from PqQt5 import Qt, QtCore,
QtDBus, QtNetwork</pre>
    <pre class="western">Traceback (most recent call last):</pre>
    <pre class="western">  File "<stdin>", line 1, in
<module></pre>
    <pre class="western">ImportError: No module named PqQt5</pre>
    <pre class="western">>>> from PyQt5 import Qt, QtCore,
QtDBus, QtNetwork</pre>
    <pre class="western">>>> from PyQt5 import QtGui</pre>
    <pre class="western">Traceback (most recent call last):</pre>
    <pre class="western">  File "<stdin>", line 1, in
<module></pre>
    <pre class="western">ImportError:
/usr/lib/python3/dist-packages/PyQt5/QtGui.so: undefined symbol:
_ZNK14QSurfaceFormat10testOptionENS_12FormatOptionE</pre>
    <pre class="western">

</pre>
    <pre class="western"><b>Background:</b></pre>
    <pre class="western">

</pre>
    <pre class="western">I have configured, made, and made installed
"sip" and "Qt5" as instructed at:</pre>
    <pre class="western">

</pre>
    <pre class="western"><a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/news/sip-4166">http://www.riverbankcomputing.com/news/sip-4166</a>
and 
</pre>
    <pre class="western"><a class="moz-txt-link-freetext" href="http://www.riverbankcomputing.com/software/pyqt/download5">http://www.riverbankcomputing.com/software/pyqt/download5</a></pre>
    <pre class="western">

</pre>
    <pre class="western">Once for the released package and for the
snapshot. 
</pre>
    <pre class="western">

</pre>
    <pre class="western">I have searched the web for the same error.  A
similar one was reported for Qt4 but there was no resolution.
Hopefully someone can 
</pre>
    <pre class="western">either give me a solution or workaround. The
application I am trying to port works well on a Fedora 19 system.</pre>
    <pre class="western">

</pre>
    <pre class="western"><b>Environment:</b></pre>
    <pre class="western">

</pre>
    <pre class="western">Operating System: Rasbian</pre>
    <pre class="western">Linux raspberrypi 3.18.5+ #744 PREEMPT Fri Jan
30 18:19:07 GMT 2015 armv6l GNU/Linux</pre>
    <pre class="western">

</pre>
    <pre class="western">Qt5 Library versions:</pre>
    <pre class="western">pi@raspberrypi
~/opt/PyQt-gpl-5.4.2-snapshot-28704a096a3a $ dpkg -l |grep qt5</pre>
    <pre class="western">ii  libmgl-qt5                                 
1.11.2-17                               armhf        library for
scientific graphs. (Qt runtime library)</pre>
    <pre class="western">ii  libqt5clucene5:armhf                       
5.2.0-9                                 armhf        Qt 5 CLucene
module</pre>
    <pre class="western">ii  libqt5compositor5:armhf                    
5.2.0~269-0rpi2                         armhf        Qt 5 Compositor
module</pre>
    <pre class="western">ii  libqt5compositor5-dev                      
5.2.0~269-0rpi2                         armhf        Qt 5 Compositor
module development files</pre>
    <pre class="western">ii  libqt5concurrent5:armhf                    
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 concurrent
module</pre>
    <pre class="western">ii  libqt5core5a:armhf                         
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 core module</pre>
    <pre class="western">ii  libqt5dbus5:armhf                          
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 D-Bus
module</pre>
    <pre class="western">ii  libqt5declarative5:armhf                   
5.2.0-2                                 armhf        Qt Quick 1
module for Qt 5</pre>
    <pre class="western">ii  libqt5designer5:armhf                      
5.2.0-9                                 armhf        Qt 5 designer
module</pre>
    <pre class="western">ii  libqt5designercomponents5:armhf            
5.2.0-9                                 armhf        Qt 5 Designer
components module</pre>
    <pre class="western">ii  libqt5gui5:armhf                           
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 GUI module</pre>
    <pre class="western">ii  libqt5help5:armhf                          
5.2.0-9                                 armhf        Qt 5 help module</pre>
    <pre class="western">ii  libqt5multimedia5:armhf                    
5.2.0-3                                 armhf        Qt 5 Multimedia
module</pre>
    <pre class="western">ii  libqt5multimedia5-plugins:armhf            
5.2.0-3                                 armhf        Qt 5 Multimedia
module plugins</pre>
    <pre class="western">ii  libqt5multimediaquick-p5:armhf             
5.2.0-3                                 armhf        Qt 5 Multimedia
Quick module</pre>
    <pre class="western">ii  libqt5multimediawidgets5:armhf             
5.2.0-3                                 armhf        Qt 5 Multimedia
Widgets module</pre>
    <pre class="western">ii  libqt5network5:armhf                       
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 network
module</pre>
    <pre class="western">ii  libqt5opengl5:armhf                        
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 OpenGL
module</pre>
    <pre class="western">ii  libqt5opengl5-dev                          
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 OpenGL
library development files</pre>
    <pre class="western">ii  libqt5printsupport5:armhf                  
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 print
support module</pre>
    <pre class="western">ii  libqt5qml-graphicaleffects:armhf           
5.2.0-2                                 armhf        Qt 5 Graphical
Effects module</pre>
    <pre class="western">ii  libqt5qml-quickcontrols                    
5.2.0-2                                 all          transitional
dummy package for Qt 5 Quick Controls module plugin</pre>
    <pre class="western">ii  libqt5qml5:armhf                           
5.2.0-8+rpi1                            armhf        Qt 5 QML module</pre>
    <pre class="western">ii  libqt5quick5:armhf                         
5.2.0-8+rpi1                            armhf        Qt 5 Quick
library</pre>
    <pre class="western">ii  libqt5quickparticles5:armhf                
5.2.0-8+rpi1                            armhf        Qt 5 Quick
particules module</pre>
    <pre class="western">ii  libqt5quicktest5:armhf                     
5.2.0-8+rpi1                            armhf        Qt 5 Quick Test
library</pre>
    <pre class="western">ii  libqt5script5:armhf                        
5.2.0+dfsg-3                            armhf        Qt 5 script
module</pre>
    <pre class="western">ii  libqt5scripttools5:armhf                   
5.2.0+dfsg-3                            armhf        Qt 5 script
tools module</pre>
    <pre class="western">ii  libqt5sensors5:armhf                       
5.2.0+dfsg-3                            armhf        Qt Sensors
module</pre>
    <pre class="western">ii  libqt5sensors5-dev                         
5.2.0+dfsg-3                            armhf        Qt 5 Sensors
development files</pre>
    <pre class="western">ii  libqt5serialport5:armhf                    
5.2.0-4                                 armhf        Qt 5 serial port
support</pre>
    <pre class="western">ii  libqt5serialport5-dev                      
5.2.0-4                                 armhf        Qt 5 serial port
development files</pre>
    <pre class="western">ii  libqt5sql5:armhf                           
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 SQL module</pre>
    <pre class="western">ii  libqt5sql5-mysql:armhf                     
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 MySQL
database driver</pre>
    <pre class="western">ii  libqt5sql5-odbc:armhf                      
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 ODBC
database driver</pre>
    <pre class="western">ii  libqt5sql5-psql:armhf                      
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 PostgreSQL
database driver</pre>
    <pre class="western">ii  libqt5sql5-sqlite:armhf                    
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 SQLite 3
database driver</pre>
    <pre class="western">ii  libqt5sql5-tds:armhf                       
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 FreeTDS
database driver</pre>
    <pre class="western">ii  libqt5svg5:armhf                           
5.2.0-3                                 armhf        Qt 5 SVG module</pre>
    <pre class="western">ii  libqt5svg5-dev                             
5.2.0-3                                 armhf        Qt 5 SVG module
development files</pre>
    <pre class="western">ii  libqt5svg5-private-dev                     
5.2.0-3                                 armhf        Qt 5 SVG module
private development files</pre>
    <pre class="western">ii  libqt5test5:armhf                          
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 test module</pre>
    <pre class="western">ii  libqt5webkit5:armhf                        
5.2.0+dfsg1-1+rpi1                      armhf        Web content
engine library for Qt</pre>
    <pre class="western">ii  libqt5webkit5-dbg:armhf                    
5.2.0+dfsg1-1+rpi1                      armhf        Web content
engine library for Qt - debugging symbols</pre>
    <pre class="western">ii  libqt5webkit5-dev                          
5.2.0+dfsg1-1+rpi1                      armhf        Web content
engine library for Qt - development files</pre>
    <pre class="western">ii  libqt5webkit5-qmlwebkitplugin:armhf        
5.2.0+dfsg1-1+rpi1                      armhf        Qt WebKit QML
plugin</pre>
    <pre class="western">ii  libqt5widgets5:armhf                       
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 widgets
module</pre>
    <pre class="western">ii  libqt5x11extras-dev                        
5.2.0-2                                 all          Qt 5 X11 extras
development files - dummy transitional package</pre>
    <pre class="western">ii  libqt5x11extras5:armhf                     
5.2.0-2                                 armhf        Qt 5 X11 extras</pre>
    <pre class="western">ii  libqt5x11extras5-dev                       
5.2.0-2                                 armhf        Qt 5 X11 extras
development files</pre>
    <pre class="western">ii  libqt5xml5:armhf                           
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 XML module</pre>
    <pre class="western">ii  libqt5xmlpatterns5:armhf                   
5.2.0-3                                 armhf        Qt 5 XML
patterns module</pre>
    <pre class="western">ii  libqt5xmlpatterns5-dev                     
5.2.0-3                                 armhf        Qt 5 XML
patterns development files</pre>
    <pre class="western">ii  libqt5xmlpatterns5-private-dev             
5.2.0-3                                 armhf        Qt 5 XML
patterns private development files</pre>
    <pre class="western">ii  pyqt5-doc                                  
5.3.2+dfsg-3                            all          Documentation
for PyQt5</pre>
    <pre class="western">ii  qdbus-qt5                                  
5.2.0-9                                 armhf        Qt 5 D-Bus tool</pre>
    <pre class="western">ii  qt5-default                                
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 development
defaults package</pre>
    <pre class="western">ii  qt5-image-formats-plugins:armhf            
5.2.0-3                                 armhf        Qt 5 Image
Formats module</pre>
    <pre class="western">ii  qt5-qmake                                  
5.2.0+dfsg-7+rpi10                      armhf        Qt 5 qmake
Makefile generator tool</pre>
    <pre class="western">

</pre>
    <pre class="western">

</pre>
    <pre class="western">

</pre>
    <pre class="western"><b>Thanks </b>
</pre>
    <pre class="western">

</pre>
    <pre class="western">Happycat.</pre>
    <title></title>
    <meta name="generator" content="LibreOffice 4.2.8.2 (Linux)">
    <style type="text/css">
        <!--
                @page { margin: 0.79in }
                pre.cjk { font-family: "WenQuanYi Zen Hei Sharp", monospace }
                p { margin-bottom: 0.1in; line-height: 120% }
        -->
        </style>
  </body>
</html>