Thread: QT dialog osX
View Single Post
Old 08-26-2013, 05:08 PM   #1
Pr.BarnArt
Addict
Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.Pr.BarnArt ought to be getting tired of karma fortunes by now.
 
Pr.BarnArt's Avatar
 
Posts: 394
Karma: 401800
Join Date: Jun 2011
Device: Pocketbook 902 / Ipad air/ kindle paperwhite
QT dialog osX

Hey,

I wrote a metadataplugin (BOL_NL) with a qtdialog popping up, if there were no matches, showing the rejected titles.
Under windows no problems.

Running in osX (snow leopard) gives troubles.
Starting from terminal calibre-debug -e __some code: the dialog is shown and the debuginfo is printed in the terminal.

Starting form terminal with the gui ( calibre-debug -g), the dialog doesnot show up at all, nore is the debug-information printed in the terminal.
In the terminal only a few messeages appear:
“QCocoaView handleTabletEvent: This tablet device is unknown (received no proximity event for it). Discarding event.” when on the first time I click a button inside calibre. (even when my plugin is not installed).

I am not familiar with osX , and I am not that good with python and qt .
Do I need some extra settings to get the output printed and the dialog shown? I am stuck at the moment, so any help or hint is appreciated.
Pr.BarnArt is offline   Reply With Quote