Opened 9 years ago

Last modified 3 years ago

#1041 defect new

extra reference needed to show main window when using qtreactor

Reported by: insanekane Owned by:
Priority: low Milestone:
Component: core Keywords:
Cc: exarkun, itamarst, insanekane, thijs Branch:
Author: Launchpad Bug:

Description


Attachments (1)

another_test.py (747 bytes) - added by insanekane 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by insanekane

comment:1 Changed 9 years ago by insanekane

calling qApp.setMainWidget(mW) should be sufficient. I am not entirely sure 
that this is a twisted problem, but qApp.setMainWidget was sufficient when the 
app was not using twisted.

comment:2 Changed 5 years ago by thijs

  • Cc thijs added
  • Component set to conch

Why does this have a high priority? Is it still relevant?

comment:3 Changed 5 years ago by exarkun

  • Component changed from conch to core
  • Priority changed from high to low

I guess it's a bug in qtreactor. It probably isn't really high priority. It might be nice if it got fixed someday perhaps.

comment:4 Changed 4 years ago by <automation>

  • Owner itamarst deleted

comment:5 Changed 3 years ago by thijs

See #3977 for qtreactor re-integration, with 12.0 trunk this demo prints:

Traceback (most recent call last):
  File "another_test.py", line 20, in <module>
    from twisted.internet import qtreactor
  File "/home/thijs/workspaces/opensource/twisted-trunk/twisted/internet/qtreactor.py", line 12, in <module>
    raise ImportError(errorMessage)
ImportError: qtreactor is no longer a part of Twisted due to licensing issues. Please see http://twistedmatrix.com/trac/wiki/QTReactor for details.
Note: See TracTickets for help on using tickets.