Jump to content

QtGui Undefined symbols: Difference between revisions

From Qt Wiki
Created page with " == Error: Undefined symbols within QtGui.so in PyQt5 == Before the migration to this wiki, hagen23 and iugo reported a similar problem in PyQt4: http://qt-project.org/forum..."
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
== Error: Undefined symbols within QtGui.so in PyQt5 ==
== Error: Undefined symbols within QtGui.so in PyQt5 ==


Before the migration to this wiki, hagen23 and iugo reported a similar problem in PyQt4:
''Before the migration to this wiki, hagen23 and iugo reported a similar problem in PyQt4:''


http://qt-project.org/forums/viewthread/51029/
http://qt-project.org/forums/viewthread/51029/


I would suspect that their solution would be the same.
''I would suspect that their solution would be the same.''


Problem:  
''Problem:''


''Python 2.7.3 (default, Mar 18 2014, 05:13:23)  
Python 2.7.3 (default, Mar 18 2014, 05:13:23)  
[GCC 4.6.3] on linux2
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
Type "help", "copyright", "credits" or "license" for more information.
>>> from PyQt5 import QtGui''
>>> from PyQt5 import QtGui


Results in:
''Results in:''


''Traceback (most recent call last):
<nowiki>Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
File "<stdin>", line 1, in <module>
ImportError: /usr/lib/python2.7/dist-packages/PyQt5/QtGui.so: undefined symbol: _ZNK14QSurfaceFormat10testOptionENS_12FormatOptionE''
ImportError: /usr/lib/python2.7/dist-packages/PyQt5/QtGui.so: undefined symbol: _ZNK14QSurfaceFormat10testOptionENS_12FormatOptionE
</nowiki>


Hopefully their solution will apply to PyQt5
''Hopefully their solution will apply to PyQt5''


Thanks all.
''Thanks all.''
 
--[[User:Happycat|Happycat]] ([[User talk:Happycat|talk]]) 17:54, 6 March 2015 (UTC)

Latest revision as of 18:09, 6 March 2015

Error: Undefined symbols within QtGui.so in PyQt5

Before the migration to this wiki, hagen23 and iugo reported a similar problem in PyQt4:

http://qt-project.org/forums/viewthread/51029/

I would suspect that their solution would be the same.

Problem:

Python 2.7.3 (default, Mar 18 2014, 05:13:23) [GCC 4.6.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from PyQt5 import QtGui

Results in:

Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: /usr/lib/python2.7/dist-packages/PyQt5/QtGui.so: undefined symbol: _ZNK14QSurfaceFormat10testOptionENS_12FormatOptionE

Hopefully their solution will apply to PyQt5

Thanks all.

--Happycat (talk) 17:54, 6 March 2015 (UTC)