summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets')
-rw-r--r--doc/src/snippets/sensorgestures/sensorgestures.pro2
-rw-r--r--doc/src/snippets/sensors/sensors.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/snippets/sensorgestures/sensorgestures.pro b/doc/src/snippets/sensorgestures/sensorgestures.pro
index c34a0188..d692694a 100644
--- a/doc/src/snippets/sensorgestures/sensorgestures.pro
+++ b/doc/src/snippets/sensorgestures/sensorgestures.pro
@@ -5,5 +5,5 @@ SOURCES+=main.cpp\
creating.cpp\
plugin.cpp
HEADERS+=myplugin.h
-LIBS+=-rdynamic
+*g++*:LIBS+=-rdynamic
QT+=widgets
diff --git a/doc/src/snippets/sensors/sensors.pro b/doc/src/snippets/sensors/sensors.pro
index b34794e1..cf162e59 100644
--- a/doc/src/snippets/sensors/sensors.pro
+++ b/doc/src/snippets/sensors/sensors.pro
@@ -6,5 +6,5 @@ SOURCES+=main.cpp\
start.cpp\
plugin.cpp
HEADERS+=mybackend.h
-LIBS+=-rdynamic
+*g++*:LIBS+=-rdynamic
QT+=widgets