From acbe469322d0ab4aac863192ca5bf6fe1feedaed Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 24 Nov 2011 08:46:23 +0100 Subject: QtSensors: Fix compilation of examples/warnings on Windows. - Fix double->float truncation in tests - Use -rdynamic for g++ only - Introduce EXPORT macro in grue library for Windows to work - Add DESTDIR for the grue lib (to prevent it from ending up in the debug/release subfolders, respectively Change-Id: I3b902b501483c92639c0a6252240db4ed8a4a00d Sanity-Review: Qt Sanity Bot Reviewed-by: Lincoln Ramsay --- examples/sensors/grue/plugin/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/sensors/grue/plugin') diff --git a/examples/sensors/grue/plugin/main.cpp b/examples/sensors/grue/plugin/main.cpp index 50333f2d..74a8900d 100644 --- a/examples/sensors/grue/plugin/main.cpp +++ b/examples/sensors/grue/plugin/main.cpp @@ -77,7 +77,7 @@ public: QStringList keys() const { return QStringList() << "grue";} }; -Q_EXPORT_PLUGIN2(libsensors_grueplugin, GrueSensorPlugin); +Q_EXPORT_PLUGIN2(libsensors_grueplugin, GrueSensorPlugin) #include "main.moc" -- cgit v1.2.3