Results 1 to 5 of 5

Thread: LGPL and distributing QT database drivers

  1. #1
    Join Date
    Oct 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default LGPL and distributing QT database drivers

    I'm building an app which relies heavily on the QOCI Oracle database driver which is distributed in the non-free version of QT, since the QOCI dirver is not distributed with the free version. The QOCI driver, I have noticed according to the source code, is considered LGPL.

    The app I'm building will, to all intents and purposes, be considered free software, Im building it in my own time for non profit purposes. Once its stable enough, I will probably put it on GITHub and open it up for collaboration if anyone takes an interest. And also, probably, I would like to have a website where people can download pre-built or compilable versions of it.

    How does the LGPL licence allow me to bundle the QOCI driver with my distribution package? I've tried getting my head around the requirements, but most of the jargon is targeted at commercial value, which Im staying away from. Basically, none of it makes sense, Im just looking at keeping things as simple as possible, both for me, the developer, and for any users out there who feel inclined to use it.

  2. #2
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LGPL and distributing QT database drivers

    I'm NOT a lawyer but IMHO there are things to take in count:
    • The QOCI driver sources are available in LGPL Qt version, so you can compile it
    • Using "plugin" paradigm you don't link directly the OCI client, so you can use in commercial software
    • QOCI depends on OCI client (oci.dll or libclntsh.so)


    So you can deploy compiled QOCI driver but you have to deploy OCI client too.
    You must check if you can provide the OCI client in your installation KIT
    A camel can go 14 days without drink,
    I can't!!!

  3. #3
    Join Date
    Oct 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LGPL and distributing QT database drivers

    So let me get this straight, to distribute the QOCI plugin, I would have to distribute libclntsh (on linux) and oci.dll (on windows) bundled up in my tarball? These are proprietary files belonging to Oracle and they would sue me through nine hells if they caught me distributing pieces of their software.

    The thing is though, there's typically no need to bundle them because anyone who would be interested in running the app will probably already have an Oracle client of some sort installed, even if its the Oracle Instantclient, which is free to download from Oracle's site anyway. But what very few people have is the QT OCI driver, and thats the main part Im worried about. If I can't give that out, then I might as well stop development. Its dead in the water. (Or at least its time to brush up on my OCI api skills and code my own driver, painful as that sounds)

  4. #4
    Join Date
    Jan 2006
    Location
    Napoli, Italy
    Posts
    621
    Thanks
    5
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LGPL and distributing QT database drivers

    No,

    what I said means that the problem should be to dstribuite OCI libraries. So you need to specify that the user have to install it by himself.
    A camel can go 14 days without drink,
    I can't!!!

  5. #5
    Join Date
    Oct 2009
    Posts
    6
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: LGPL and distributing QT database drivers

    OK, I see what you are saying now. Thanks. So in theory it should be fine for me to distribute the QOCI plugin object/source but need to make it clear that they will need the Oracle appropriate files installed in order for the app to work or compile against.

    Thanks for your input. I will study up a bit further on this, but it gives me a good basis to go forward on.

Similar Threads

  1. Distributing my app
    By been_1990 in forum Qt Programming
    Replies: 8
    Last Post: 21st September 2010, 16:11
  2. Database drivers provided with Qt Open Source Edition
    By babygal in forum Qt Programming
    Replies: 1
    Last Post: 17th August 2010, 08:47
  3. database drivers - installation
    By banita in forum Qt Programming
    Replies: 5
    Last Post: 29th April 2010, 20:26
  4. Distributing Qt programs
    By scwizard in forum Qt Programming
    Replies: 3
    Last Post: 19th March 2007, 23:36
  5. Issues regarding QMySql drivers and mysql database
    By bera82 in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2006, 18:50

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.