Opened 13 years ago

Last modified 6 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: Jean-Paul Calderone, itamarst, insanekane, Thijs Triemstra Branch:
Author:

Description


Attachments (1)

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

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by insanekane

Attachment: another_test.py added

comment:1 Changed 13 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 9 years ago by Thijs Triemstra

Cc: Thijs Triemstra added
Component: conch

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

comment:3 Changed 9 years ago by Jean-Paul Calderone

Component: conchcore
Priority: highlow

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 7 years ago by <automation>

Owner: itamarst deleted

comment:5 Changed 6 years ago by Thijs Triemstra

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.