Use proper types when calling qBound.

qBound is a template function defined as:

 const T &qBound (const T &min, const T &value, const T &max )

On ARM, for some reason the type of min and max in this expression
resolves to double, and compiler fails to find a function matching
qBound(double, qreal, double). For that reason we typecast constants
to qreal explicitly.
Use proper floating type for cellMargins()

cellMargins() accepts double, not qreal.
Use proper types when calling qMax.

Typecast 0.0 to qreal explicitly.
Fix for qBound on ARM
Include global.pri in top-level openrpt.pro
Use system dmtx library if USE_SYSTEM_DMTX environment variable set
Build shared libraries if BUILD_SHARED_LIBS is set
Use the name libopenrptcommon for the dll version of libcommon
testing travis-ci build report
Merge pull request #23 from gilmoskowitz/showBuildStatus

show travis-ci build status
Merge pull request #15 from gpazo/updateCopyright

Update copyright
Prefix QMAKE_LIBDIR for linking artifacts built in-tree
Merge pull request #25 from dpocock/qmake-libdir

Prefix QMAKE_LIBDIR for linking artifacts built in-tree
Merge pull request #19 from dpocock/qbound-arm

Fix for qBound on ARM
Merge pull request #12 from andrewshadura/patch-4

Use proper types when calling qMax. See PR #19 as well.
Merge pull request #11 from andrewshadura/patch-3

Use proper floating type for cellMargins()
Merge pull request #9 from andrewshadura/patch-1

Use proper types when calling qBound.
Merge branch 'master' into package-building-options

Conflicts:
	MetaSQL/importmql_gui/importmql_gui.pro
	MetaSQL/metasql_gui/metasql_gui.pro
	OpenRPT/bldtbls/bldtbls.pro
	OpenRPT/export/export.pro
	OpenRPT/import/import.pro
	OpenRPT/import_gui/import_gui.pro
	OpenRPT/renderapp/renderapp.pro
	OpenRPT/renderer/renderer.pro
	OpenRPT/writer/writer.pro
	OpenRPT/wrtembed/wrtembed.pro
Use the name libopenrptcommon for the dll version of libcommon (fix for import_gui)
fix mac build errors that appear after incorporating https://github.com/xtuple/openrpt/pull/20