Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 03-16-2020, 10:18 PM   #1
Sytten
Junior Member
Sytten began at the beginning.
 
Sytten's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2020
Device: nonde
Error loading plugin on OSX

Hi there!

I am trying to build a new plugin on MacOS Mojave with Calibre 4.8, but I encounter this error with the demo plugin:

Code:
$ calibre-debug -s; calibre-customize -b /Users/Sytten/Desktop/interface_demo_plugin/; calibre
No running calibre found
Plugin updated: Interface Plugin Demo (1, 0, 0)
qt.qpa.plugin: Could not find the Qt platform plugin "cocoa" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Abort trap: 6
I am unsure if I need to install something first since it's not written in the documentation.

Thanks a lot!
Sytten
Sytten is offline   Reply With Quote
Old 03-16-2020, 10:51 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,222
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No you dont need to install anything. That's an error starting up calibre. What does "calibre" resolve to?
kovidgoyal is online now   Reply With Quote
Advert
Old 03-17-2020, 09:05 AM   #3
Sytten
Junior Member
Sytten began at the beginning.
 
Sytten's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2020
Device: nonde
It seems the calibre command is the problem. It resolves to /usr/local/bin/calibre, I will check if thats an old version I installed with brew or something.
Sytten is offline   Reply With Quote
Old 03-17-2020, 09:19 AM   #4
Sytten
Junior Member
Sytten began at the beginning.
 
Sytten's Avatar
 
Posts: 6
Karma: 10
Join Date: Mar 2020
Device: nonde
Latest version seems to work! Not sure what happened previously.

Other question I had: Is there an easy way to know which calibre version should the minimum?
Sytten is offline   Reply With Quote
Old 03-17-2020, 10:25 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,222
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Depends on what APIs you use. But if I were you, I'd just set it to whatever version you develop against then going forward maintain compat as long as possible with that version.
kovidgoyal is online now   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Error Connecting on Mac OSX JimmXinu Calibre 7 01-30-2016 12:17 PM
Install of simple plugin works on Linux and Win but not on OSX kabirmaar Development 9 07-26-2014 07:49 PM
Loading Plugin in development Sladd Development 6 06-17-2014 06:57 PM
Error calibre OSX: 'int' object has no attribute 'replace' dorjeduck Calibre 3 11-28-2012 10:53 PM
Developing a plugin on osx 10.5 macuser15905 Plugins 2 08-28-2009 03:54 PM


All times are GMT -4. The time now is 12:30 PM.


MobileRead.com is a privately owned, operated and funded community.