Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. PyQt QtGui Error: Undefined Symbol
Forum Updated to NodeBB v4.3 + New Features

PyQt QtGui Error: Undefined Symbol

Scheduled Pinned Locked Moved Installation and Deployment
raspberryinstallationerror
2 Posts 1 Posters 2.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    happycat
    wrote on last edited by
    #1

    Error: Undefined symbols within QtGui.so in PyQt5[edit]

    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)

    50+ years, a Programmer, Designer, &amp; Manager
    From Philco 2000 to Raspberry Pi processors.
    From Measurement and Control to Data Base applications.
    Happycat

    1 Reply Last reply
    0
    • H Offline
      H Offline
      happycat
      wrote on last edited by
      #2

      This problem has been resolved. Apparently, the libraries available in the distribution are not compatible with each other, or with installation of "sip" or "PyQt5". After installing the .deb file found at http://tinyurl.com/kza5uob and remaking the current stable versions of "sip" and "PyQt5" I was able to load and execute an application originally run on Fedora 19.

      50+ years, a Programmer, Designer, &amp; Manager
      From Philco 2000 to Raspberry Pi processors.
      From Measurement and Control to Data Base applications.
      Happycat

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved