-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I'm not sure this helps us, because we're using CMake, not qmake.
Blessings! Jaak On 06.08.2013 05:07, Troy A. Griffitts wrote: > Jaak, > > I've include -DSWORD_NUMVERSION as a pkg-config cflag directive. I > hope this is good enough for you. You can get this defined for you > by including this in your .pro file. > > CONFIG += link_pkgconfig PKGCONFIG += sword > > > > > On 08/05/2013 10:12 PM, Jaak Ristioja wrote: Its not simple to port > to Sword 1.7.0_rc2, because the Sword test magic in BibleTime > #includes <ftptrans.h>, which is not available in 1.7. Hence > compilation of that file fails. There's no way to do stuff like: > > #include <sword/version.h> #if SWORD_VERSION >= 0x010690 #include > <sword/remotetrans.h> typedef sword::FTPTransport > SwordRemoteRransport; #else #include <sword/ftptrans.h> typedef > sword::RemoteTransport SwordRemoteRransport; #endif > > in the .cpp file to fix this easily. So I have to write A LOT of > CMake scripts to -D a SWORD_VERSION macro to pass to the compiler, > or worse. > > To sum up, it is currently not reasonably feasible to write C++ > source code which compiles with both 1.6 and 1.7 versions of Sword. > One needs a lot of support from the build system :( > > I again urge you to save us all some time and define a > preprocessable SWORD_VERSION macro alike the *_VERSION macros boost > or Qt define! If properly defined, this would at minimum halve the > time needed to port existing versions of BibleTime to work with > both 1.6 and 1.7. > > Blessings, Jaak > > PS: It would be wise to install a ftptrans.h file anyway, which > includes a deprecation #warning, an #include "remotetrans.h" and a > typedef aliasing sword::FTPTransport to sword::RemoteTransport. > > On 05.08.2013 22:01, Troy A. Griffitts wrote: >>>> Well, It's been quiet since the release of RC2. Does this >>>> mean things are working as expected? Could I get a few >>>> positives from frontends if you've tried the bundle? Thank >>>> you. >>>> >>>> Troy >>>> >>>> >>>> >>>> On 08/03/2013 12:01 PM, Troy A. Griffitts wrote: >>>>> Thanks for all the testing and reports against RC1. Things >>>>> have quieted down, so hopefully we have all the remaining >>>>> items polished off. RC2 is available for your weekend >>>>> pleasure. >>>>> >>>>> http://crosswire.org/sword/alpha/alpha/sword-1.7.0RC2.tar.gz >>>>> >>>>> >>>>> _______________________________________________ sword-devel >>>>> mailing list: sword-devel@crosswire.org >>>>> http://www.crosswire.org/mailman/listinfo/sword-devel >>>>> Instructions to unsubscribe/change your settings at above >>>>> page >>>> >>>> _______________________________________________ sword-devel >>>> mailing list: sword-devel@crosswire.org >>>> http://www.crosswire.org/mailman/listinfo/sword-devel >>>> Instructions to unsubscribe/change your settings at above >>>> page >> >> _______________________________________________ sword-devel >> mailing list: sword-devel@crosswire.org >> http://www.crosswire.org/mailman/listinfo/sword-devel >> Instructions to unsubscribe/change your settings at above page > > > _______________________________________________ sword-devel mailing > list: sword-devel@crosswire.org > http://www.crosswire.org/mailman/listinfo/sword-devel Instructions > to unsubscribe/change your settings at above page -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) iQgcBAEBAgAGBQJSAJQqAAoJEEqsYmEt1rCO7LQ//3TzpooTMYe+oE/Qtd6M6KZ8 EzMLwRm+U+66tEEIM3Jj13QzHouUzniJKK8Pxj/gwX8UlQLupt0xwdjIGtSd6/Y6 243Dyw8SKev/w2VvJvP/TkGtkGDIE9SRcHEy3uE3y4E+0NHEPDjwFrM2LtN+A890 6cC0KGpJHxdRULGTCA8ryYUtKi3vvazJWlfPYMrMJl1avOIWLpemTAQ7qjdtFgyu AaeBwVLwcbPHWR9gZKwM4u1oWai3hE6qRK1kOkWAnVhyCZd/2zXK2sAUcTMNTF6N RUTBgaXaoYwjs/DrzEtmoKn2x8IZjoT+PLNVzudLHs9s/eA/PqiwSxwNU7kavy+1 jZPX7u/TXA/6HmxwIYft4jAadDMzKF+rpFKkNjoEb5da9WLUYmU1/f6iOIyXOZDe 5GD/2K61Ldcsys4xSgMM5xbVIHTzAW2krRS8EptyITX+u8Ul6xmV/L4QOv5jQDqj otSmHplhjTtXqA4ffgfHCslI5HYYqMNxvtsZUE2BCa7sPtptYFQm2cT/9hL3YBvg l38mGJd6adA3W9VftKTSzM67bzYaaxCFf8PFYS5OzKQJ+Trw9KUW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AftY =GBgn -----END PGP SIGNATURE----- _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page