09-28-2014, 08:12 PM | #151 |
null operator (he/him)
Posts: 20,567
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Jon makes a good point
Irrespective of what version of what OS they use, many folks only upgrade calibre when there is something worth having. And a new plugin could certainly be worth having, without having to stumble around the 'baggage' of new features in the core. BR |
09-28-2014, 09:07 PM | #152 | |
Noob Developer
Posts: 25
Karma: 219932
Join Date: Aug 2014
Location: Texas
Device: Amazon Fire 7
|
Quote:
Personally, I'll code for the current version, and if the code works for earlier versions, that's a bonus. And if it doesn't and users upgrade to get the plugins, that's a bonus too. If there were a significant percentage who COULDN'T upgrade, that would affect my thinking, but I suspect it's more a matter of the users not bothering than an inability. When my code is ready, I'll test it for compatibility, but I'm not going to lose sleep over it if it doesn't run on Calibre 0.1.5. |
|
09-29-2014, 01:20 AM | #153 | |
Resident Curmudgeon
Posts: 73,957
Karma: 128903250
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
You have to specifically code for Qt4. It doesn't just work with Qt4 when coded for Qt5. You have to put in the installs to handle if it's running under Qt4 vs Qt5. I don't know the specifics, but if you code for just the latest version, then your plugin will not work for 1.48. The point is, if your plugin can run under Qt4 & Qt5 with just a little extra coding, do so and make it compatible to more people. Last edited by JSWolf; 09-29-2014 at 01:22 AM. |
|
09-29-2014, 02:28 AM | #154 | |
Noob Developer
Posts: 25
Karma: 219932
Join Date: Aug 2014
Location: Texas
Device: Amazon Fire 7
|
Quote:
I don't want to be rude, but I'd like to set a clear boundary. I asked if there was a reason to include Qt4 references. I didn't ask for advice, and certainly not for instructions. You're overstepping. I'm going to build and improve my plugin for free, and I'm going to share the results for free. But unless you're paying me, you don't tell me to do a little extra coding. I have no problem with you stating what you'd prefer or what you think would be useful, but just don't tell me what to do. Deal? |
|
09-29-2014, 03:42 PM | #155 |
Ex-Helpdesk Junkie
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
So just to be clear:
nice people spend the minimum effort wrapping imports in try--except-with-Qt4 blocks and other compatibility shims, so XP users aren't left out. (Users who don't want to download an update will have to decide if the plugin is worth it, there is nothing wrong with using old versions but it's worth noting that every bug response starts with "does this problem manifest on the latest version also". ) If it doesn't work, don't lose any sleep over it, the same way those users will not have access to other 2.x features, this won't work either. No effort will be spent on bending over backward to use legacy APIs. Now that we have a definition of "nice people" that matches what (most) every other plugin developer is already doing, are we all happy, since we apparently agreed all along? @stanking, I anticipate seeing cool stuff from you and I am confident you will make a good judgment call on whether it is worth your time to support Qt4 or not -- without anyone else's direction. |
11-16-2014, 03:43 PM | #156 |
Well trained by Cats
Posts: 29,799
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Unstuck - this has bee around long enough that PI developers should be aware
|
01-01-2015, 05:44 PM | #157 | |
Member
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: Kindle/Android
|
help with upgrade to QT 5
I'm having issues with one of my personal plugins after upgrading to the newest version of calibre. I was previously on 1.48. I'm trying to make my plugins compatible with the new version using QT 5.
Even though is looks like my plugin gets loaded (Amazon Title Series && My Amazon && Kindle Collections Leefa ) they aren't available to add to the toolbar and/or aren't added to the toolbar I've attached the plugins Here is the log: Quote:
|
|
01-01-2015, 11:22 PM | #158 |
creator of calibre
Posts: 43,853
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
See the line
ImportError: cannot import name NONE There is no NONE in Qt 5, use None instead. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre-plugins.com: A resource for plugin developers | GRiker | Development | 2 | 11-19-2014 03:52 PM |
Thank you to Calibre Developers | Happy_Reader | Calibre | 1 | 12-17-2013 10:18 PM |
Thanks Calibre Developers! | TechniSol | Kobo Reader | 3 | 11-19-2012 08:34 PM |
Calibre in a Python 3.2 world, attn: Kovid | Kevin McAleavey | Calibre | 8 | 01-09-2012 05:49 PM |
What device do most calibre developers use? | barium | Calibre | 5 | 01-05-2011 07:23 AM |