06-19-2012 02:47 PM
I have asked the question on the Native forum and got no definitive answer. Since Cascades is built on top of Qt, what is the license of the Qt library that's used? If it is LGPL without static linking exception, how are we developers going to satisfy the requirement that the user of the binary be able to sub in his/her version of the Qt lib when our apps are distributed through App World?
Using LGPL stuff makes me very nervous. Maybe RIM could just buy Qt from Nokia so we could use Qt for BB10 without losing sleep at night.
06-19-2012 03:28 PM
06-25-2012 06:59 PM
I've read the GPL and LGPL numerous times. I am not a lawer, but I don't see any clause that compels the application developer to ensure that a mechanism exists to allow for the replacement of the library. What the LGPL seems to say is that your application can not be designed to actively prevent this (ie by statically linking the libraries object code with yours). And that the safest/easiest route to avoid this is to dynamically link against the library.
Since, we are dynamically linking with the library that is pre-installed, your job is done.
I don't see anything that compels RIM to allow the library to be replaced either. That would wreak havoc with security on the device so I'm sure this has been considered by RIM before using 3rd party LGPL libraries.
They haven't added Qt to the list of 3rd party legal notices yet, I assume they will do so before bb10.
My question is, do the RIM notices absolve developers who use these libraries from including legal notices with their software when using libraries like Qt that are included in the SDK?
06-25-2012 07:13 PM
Thanks for your reading @npross.
I guess if the library is prepackaged and dynamically linked at launch, it's probably ok. But it's probably very different if the library is not prepackaged with the OS and from some other sources (like the full Qt). In this case, how does one faciliate dynamic linking by packaging the library as an asset? I'm not very familiar with linking technology so I'm not sure if this is even possible. (I just use the IDE as a blackbox when it comes to linking. )