Lazarus + QT4: What about license? lazarus / 3-General ---------------------------------------------------------------------- osvaldo-tcf · 2007-11-30 17:31 Hi. If i use lazarus with qt4, what type of license my application has ? I have to paid for trolltec ? ---------------------------------------------------------------------- Almindor · 2007-12-01 12:37 Yes if you use it for commercial use. Otherwise you are GPL AFAIK. All QT4 restrictions apply. ---------------------------------------------------------------------- Troodon · 2008-07-30 18:21 GPL = you must give away the program source code, whether you charge for your software or not. ---------------------------------------------------------------------- DenJean · 2009-05-28 20:25 Quote from: osvaldo-tcf on November 30, 2007, 06:31:40 pmHi. If i use lazarus with qt4, what type of license my application has ? I have to paid for trolltec ? Updated: No. Qt is LGPL now: http://www.qtsoftware.com/products/licensing/licensing#qt-gnu-lgpl-v Qt GNU LGPL v. 2.1 Version This version is available for development of proprietary and commercial applications in accordance with the terms and conditions of the GNU Lesser General Public License version 2.1 ---------------------------------------------------------------------- Troodon · 2009-05-28 22:41 I have installed the Qt-4.5 SDK on Ubuntu Hardy. So far so good, except that the system continues to use the distro Qt release, i.e. 4.3 (could not uninstall it, otherwise too many dependencies would have been broken). So now I need to figure out a way to build my Lazarus/FPC apps using the 4.5 lib in the SDK. ::scratches head:: ---------------------------------------------------------------------- Paul Ishenin · 2009-05-29 06:09 to build lazarus itself you can run "make clean bigide LCL_PLATFORM=qt OPT=-dUSE_QT_45" ---------------------------------------------------------------------- Troodon · 2009-05-29 14:37 Quote from: Paul Ishenin on May 29, 2009, 08:09:55 amto build lazarus itself you can run "make clean bigide LCL_PLATFORM=qt OPT=-dUSE_QT_45" Thanks, Paul. Actually, I was thinking of re-building only the LCL with packages and then setting the compiler options to Qt for my Lazarus/FPC application. Problem is, I haven't figured out yet how to link against a Qt library version that is not the default version on my Ubuntu system (in this case, Qt-4.5 brought by the SDK installed under /opt). Anyway, there are probably few systems that come with Qt-4.5 preinstalled at this time, so I guess I'll have to wait a while before Qt-4.5 apps can run anywhere. ---------------------------------------------------------------------- Troodon · 2009-06-04 17:07 I am trying to build an app under Windows XP using the Qt-4.5 widget set (QtCore4.dll and QtGui4.dll, release 4.5.0, are in the same directory as my executable). I installed libqt4intf.dll in C:\Windows\System32 and qt4.pas in FPC\Lazarus\lcl\interfaces\qt (v1.70, as per http://users.telenet.be/Jan.Van.hijfte/qtforfpc/fpcqt4.html). I set LCL Widget Type = qt (beta) in Compiler Options and also Project|Compiler|Options|Other|Custom options = -dUSE_QT_45. I successfully built the executable. Upon launching the application I get the error message shown in the attachment. Any sugestions? ---------------------------------------------------------------------- Zaher · 2009-06-21 14:02 That error when you install qt the SDK , but when install "Download Qt libraries 4.5 for Windows" It work fine with me.