Results 1 to 12 of 12

Thread: licence for a free scientific application

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2010
    Posts
    142
    Thanks
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: licence for a free scientific application

    Quote Originally Posted by ars View Post
    Hello,

    there are a lot of license templates around. Before deciding for a a license you should ask yourself what your expectations are. Some questions that come into my mind:
    • Do you want to provide source code or binary/executable only?
    • Do you plan to provide a commercial license (maybe at some later time) in addition?
    • Do you allow other developers to use parts of your source code in their projects (open source and/or commercial)? If so, would you like to set any restrictions to this usage ("Free beer" <-> BSD/MIT ... <-> GPL/LGPL license)?
    • Which open source projects are you using and how do their license agreements match your ideas of a license?
    • ...

    For a comparison of free open source software licenses you may start with the Wikepedia comparison https://en.wikipedia.org/wiki/Compar...tware_licenses.

    As you are already using Qt and qwt you surely have read their license agreements. For an application, you may start reading GPL version 2 or 3 license and check if they match your ideas.

    If you have decided yourself for a license (either one of the well known ones or one designed by yourself) you should also check for legal implications (warranty, ...) of using this license. This depends on the country you live in. In general, not all sections of a license agreement are valid in all countries. If you decide for one of the well known licenses, you may check their acceptance by court in your country.

    Best regards
    ars
    Thanks for your answer, your post arose some new questions. Ok, so,
    Quote Originally Posted by ars View Post
    • Do you want to provide source code or binary/executable only?

    ars
    I want to provide a binary/executable only

    Quote Originally Posted by ars View Post
    • Do you plan to provide a commercial license (maybe at some later time) in addition?

    ars
    I don't plan to provide a commercial license, I was just thinkg of selling commercially and extended/advanced version of the app

    Quote Originally Posted by ars View Post
    • Do you allow other developers to use parts of your source code in their projects (open source and/or commercial)? If so, would you like to set any restrictions to this usage ("Free beer" <-> BSD/MIT ... <-> GPL/LGPL license)?

    ars
    There won't be any open source code, just the executable


    Quote Originally Posted by ars View Post
    • Which open source projects are you using and how do their license agreements match your ideas of a license?

    ars
    Now here is the big thing...Help me understand. I have used Qt and Qwt. I suppose that their licence won't have a problem if I freely distribute my application. What happens if I want to sell my applications? Should I obtain a seperately a commercial licence by Qt and Qwt publishers? Another thing is that the .exe requires a copy of QtGui.dll, libgcc_s_dw2-1.dll, QtCore4.dll, QtGui4.dll in the same folder. Should I buy the commercial licence of each one of the publishers of these dlls?

  2. #2
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    120
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: licence for a free scientific application

    Hello,

    when using Qt and qwt under the LGPL license there should be no problem in distributing your application (either free binary or selling and advanced version of your software). However, when going that way you have take special care of the implications of the LGPL license. In short, these are:
    • link the libraries dynamically. This enables your users to replace the dynamic libraries with their own versions if they want to.
    • Make sure you give credit to the open source libraries you use in Help/About dialog and documentation
    • Make sure you distribute copies of the license together with your application
    • Upon request, you have to provide the source code of the LGPL libraries (i.e. Qt and qwt) to your users. You do NOT need to provide the source code of your work.

    So you should carefully read the LGPL licenses (version 2 or 3) to understand the implications of the license to your project and distribution model.
    I have used Qt and Qwt. I suppose that their licence won't have a problem if I freely distribute my application.
    You do not need to buy a commercial license of Qt for publishing your software as closed source (no matter if you freely distribute the binary or get a fee for it).

    Besides Qt and qwt, you might also need to check the license conditions of your compilers runtime environment. In general, check the license conditions of any piece of software that you have not written yourself.

    Best regards
    ars


    Added after 8 minutes:


    Hello,

    when using Qt and qwt under the LGPL license there should be no problem in distributing your application (either free binary or selling and advanced version of your software). However, when going that way you have take special care of the implications of the LGPL license. In short, these are:
    • link the libraries dynamically. This enables your users to replace the dynamic libraries with their own versions if they want to.
    • Make sure you give credit to the open source libraries you use in Help/About dialog and documentation
    • Make sure you distribute copies of the license together with your application
    • Upon request, you have to provide the source code of the LGPL libraries (i.e. Qt and qwt) to your users. You do NOT need to provide the source code of your work.

    So you should carefully read the LGPL licenses (version 2 or 3) to understand the implications of the license to your project and distribution model.
    I have used Qt and Qwt. I suppose that their licence won't have a problem if I freely distribute my application.
    You do not need to buy a commercial license of Qt for publishing your software as closed source (no matter if you freely distribute the binary or get a fee for it).

    Besides Qt and qwt, you might also need to check the license conditions of your compilers runtime environment. In general, check the license conditions of any piece of software that you have not written yourself.

    Best regards
    ars
    Last edited by ars; 4th March 2017 at 20:19.

  3. #3
    Join Date
    Nov 2010
    Posts
    142
    Thanks
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: licence for a free scientific application

    Quote Originally Posted by ars View Post
    Hello,
    However, when going that way you have take special care of the implications of the LGPL license. In short, these are:
    • link the libraries dynamically. This enables your users to replace the dynamic libraries with their own versions if they want to.
    • Make sure you distribute copies of the license together with your application

    So you should carefully read the LGPL licenses (version 2 or 3) to understand the implications of the license to your project and distribution model.
    would it be possible to explain further these two points.
    When you say distribute, you mean that I should copy 2 seperate txt files, QtLicence.txt and QwtLicence.txt in the application folder?
    I am sorry for asking, but I can't imagine myself getting into law related troubles (programming troubles are just enough )

  4. #4
    Join Date
    Oct 2009
    Location
    Germany
    Posts
    120
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: licence for a free scientific application

    Hello,

    When you say distribute, you mean that I should copy 2 seperate txt files, QtLicence.txt and QwtLicence.txt in the application folder?
    Basically Yes. I' ve done it in the following way:
    • I add a Licenses.zip file containing the license information for all open source projects I use in my project. This zip file contains several folders (one folder for each open source project) and the folders contain copies of the license files for the specific project. So one folder for Qt, another one for qwt, ... .
    • Help/About dialog lists all open source projects used together with the license type and copyright information, something like "Qt 5.5.0, Copyright © 2015 The Qt Company Ltd., GNU Lesser General Public License 2.1" and so on. For details on the licenses I point the user to the Licenses.zip in the installation folder of my application.
    • The user manual of my application repeats the listing of open source projects used (same as in Help/About) in the Copyrights section and points to Licenses.zip and a separate chapter of the user manual containing the license information. The latter is basically copying the license files into the user manual.
    • When using GPL/LGPL projects don't forget to mention that you provide the source code of these GPL/LGPL projects upon request. You do not need to provide the code you have written yourself.

    This procedure is required by our company lawyer when using open source projects in our company projects. It is motivated by the following section of LGPL 2.1:
    You must give prominent notice with each copy of the work that the
    Library is used in it and that the Library and its use are covered by
    this License. You must supply a copy of this License. If the work
    during execution displays copyright notices, you must include the
    copyright notice for the Library among them, as well as a reference
    directing the user to the copy of this License. Also, you must do one
    of these things:...
    Best regards
    ars

  5. The following user says thank you to ars for this useful post:

    d_stranz (29th March 2017)

  6. #5
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,233
    Thanks
    303
    Thanked 864 Times in 851 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: licence for a free scientific application

    Yes, this is excellent advice. Except for zipping the license files, I do the same in my commercial app - Help/About dialog, user manual, and license files installed to the program directory. I also supply links to the home pages of whatever open source libraries I use in my app. And unless the third-party license permits static linking, all open source libraries are delivered as DLLs.
    <=== The Great Pumpkin says ===>
    Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.

Similar Threads

  1. Qt licence for app only for myself
    By Fanaz in forum Newbie
    Replies: 2
    Last Post: 27th June 2015, 10:02
  2. Can we do static linking with third-party librarires using LGPL licence?
    By Awareness in forum Installation and Deployment
    Replies: 3
    Last Post: 30th June 2013, 14:48
  3. Replies: 3
    Last Post: 13th August 2012, 23:08
  4. where i can get the licence key ffor qt4.5
    By wagmare in forum Installation and Deployment
    Replies: 7
    Last Post: 14th March 2009, 14:05
  5. My scientific plot problem
    By baray98 in forum Qt Programming
    Replies: 2
    Last Post: 5th August 2007, 15:01

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.