Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Creating QApplication object
Forum Updated to NodeBB v4.3 + New Features

Creating QApplication object

Scheduled Pinned Locked Moved Language Bindings
1 Posts 1 Posters 2.1k 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.
  • O Offline
    O Offline
    olivas
    wrote on last edited by
    #1

    Hey All,
    I tried to create a QApplication in a python wrapped class and am
    getting a seg fault. I know about PyQt and will probably move in
    that direction but am curious now what the problem is and what
    happens on creation. I've read the docs and it doesn't seem to
    satisfy my curiosity.

    Here's the simple class ( contrived for this example ) : http://codepad.org/R259gfvs
    And here are the first 20 lines of the traceback : http://codepad.org/jVpUIxWs

    The python script is pretty simple too :
    @
    #!/usr/bin/env python
    import python_qt as pyqt
    import sys
    qapp = pyqt.QtApp( sys.argv )
    @

    This is somehow solved in PyQt, so is not impossible ( and maybe I
    should have posted there ), but this topic seemed a little more general.

    Any insight would be greatly appreciated.
    Thanks,
    Alex.

    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