Forum
Sign Up

Having QTitanRibbon as a static build

12 years 8 months ago #1 by Raul Guerrero
Hi everyone,

Is there a way to build QTitanRibbon as a static library? as I'm using Qt as a static build for ease of distribution.

Currently my builds are for MSVC2010 and MACOSX.

Thanks

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #2 by Developer Machines
I'd suggest to add this lines to your PRO file:

QTITANDIR = $$quote($$(QTITANDIR))

include($$QTITANDIR/src/ribbon/ribbon.pri)
include($$QTITANDIR/src/styles/styles.pri)

DEFINES += QTITAN_LIBRARY_STATIC

Please Log in or Create an account to join the conversation.

More
12 years 8 months ago #3 by
Don't forget the Qt license. If you are using LGPL license, maybe this is not possible.

Please Log in or Create an account to join the conversation.

  • 's Avatar
12 years 8 months ago - 12 years 8 months ago #4 by Developer Machines
This example illustrates how to build the QtitanRibbon code along with your application statically. If your code is licensed under LGPL then such build violates the LGPL license of course. In this case you can not use this way. The same thing if your application uses static linking of Qt and you do not have a Qt commercial license.

P.S. Leonardo, thanks for hint.
Last edit: 12 years 8 months ago by Developer Machines.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.134 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )