summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/serialport/serialport-lib.pri2
-rw-r--r--tests/auto/auto.pro2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/serialport-lib.pri b/src/serialport/serialport-lib.pri
index 02dc3e5..9f83989 100644
--- a/src/serialport/serialport-lib.pri
+++ b/src/serialport/serialport-lib.pri
@@ -1,6 +1,6 @@
INCLUDEPATH += $$PWD
-unix:contains(QT_CONFIG, libudev) {
+unix:qtConfig(libudev) {
DEFINES += LINK_LIBUDEV
INCLUDEPATH += $$QMAKE_INCDIR_LIBUDEV
LIBS_PRIVATE += $$QMAKE_LIBS_LIBUDEV
diff --git a/tests/auto/auto.pro b/tests/auto/auto.pro
index 2fa03f0..6c0bcec 100644
--- a/tests/auto/auto.pro
+++ b/tests/auto/auto.pro
@@ -1,5 +1,5 @@
TEMPLATE = subdirs
SUBDIRS += qserialport qserialportinfo qserialportinfoprivate cmake
-!contains(QT_CONFIG, private_tests): SUBDIRS -= \
+!qtConfig(private_tests): SUBDIRS -= \
qserialportinfoprivate