summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorkuzulis <scapig2@yandex.ru>2011-11-24 23:04:17 +0400
committerkuzulis <kuzulis@kuzulis.localdomain>2011-11-24 23:04:17 +0400
commit52b9240fa64d320b77380e5ac563ba2f5ba3745e (patch)
treed58a778c39f1f2e7812260f412f7ff11f63975b0 /examples
parent907c5bc908aedb9215fba9c2ae21c7ca66e51148 (diff)
downloadqtserialport-52b9240fa64d320b77380e5ac563ba2f5ba3745e.tar.gz
Linux: SerialPortInfo, modify macro from HAVE_UDEV to HAVE_LIBUDEV.
Diffstat (limited to 'examples')
-rw-r--r--examples/consoleportinfo/consoleportinfo.pro4
-rw-r--r--examples/guiportinfo/guiportinfo.pro4
2 files changed, 2 insertions, 6 deletions
diff --git a/examples/consoleportinfo/consoleportinfo.pro b/examples/consoleportinfo/consoleportinfo.pro
index 99b256d..9bdd996 100644
--- a/examples/consoleportinfo/consoleportinfo.pro
+++ b/examples/consoleportinfo/consoleportinfo.pro
@@ -4,9 +4,7 @@ QT -= gui
OBJECTS_DIR = obj
MOC_DIR = moc
-unix {
- !macx:DEFINES += HAVE_UDEV
-}
+linux*:DEFINES += HAVE_LIBUDEV
INCLUDEPATH += \
../../include
diff --git a/examples/guiportinfo/guiportinfo.pro b/examples/guiportinfo/guiportinfo.pro
index fd73d41..df2671e 100644
--- a/examples/guiportinfo/guiportinfo.pro
+++ b/examples/guiportinfo/guiportinfo.pro
@@ -9,9 +9,7 @@ QT += core gui
TARGET = guiportinfo
TEMPLATE = app
-unix {
- !macx:DEFINES += HAVE_UDEV
-}
+linux*:DEFINES += HAVE_LIBUDEV
INCLUDEPATH += \
../../include