On 29/05/14 17:51, Gil Moskowitz wrote:
> In MetaSQL/MetaSQL.pro:
> 
>> @@ -21,7 +21,7 @@
>>  include( ../global.pri )
>>  
>>  TEMPLATE = lib
>> -CONFIG  += qt warn_on staticlib
>> +CONFIG  += qt warn_on dll
> 
> the side effects of this change are unclear. openrpt is a critical
> component of the postbooks qt-client so someone needs to test this with
> the xtuple application several ways: compile time, run time in a
> development environment, bundle time (nightly builds and installers),
> and run time after installation.
> 

Shared object (DLL) is the normal way to distribute libraries on all
Linux distributions

When we made the Debian packages, this is one of the first things we
patched.

All the Debian and Ubuntu users are currently using it this way.

I don't know what experience you will have with this on MacOS and
Windows - however, you could wrap the code in some conditional logic
that enables dll for Linux and keeps things the way they are for the
other platforms.