diff options
author | kuzulis <scapig2@yandex.ru> | 2011-09-21 11:48:49 +0400 |
---|---|---|
committer | kuzulis <kuzulis@myhost.(none)> | 2011-09-21 11:48:49 +0400 |
commit | 60541718144f9a51451564fbf9ac9bcc0037ec4f (patch) | |
tree | 10b98262db14d3ba8435e4f6683030476cafb706 /tests | |
parent | 587d372568313502edd757d81647e94c3f40e2d8 (diff) | |
download | qtserialport-60541718144f9a51451564fbf9ac9bcc0037ec4f.tar.gz |
When compiling a library for Linux adds the ability to support Udev.
To do this, *.pro file to write: DEFINES += HAVE_UDEV.
Otherwise, the library will build without Udev.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guiapp/guiapp.pro | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/guiapp/guiapp.pro b/tests/guiapp/guiapp.pro index cb74ab5..47eb76e 100644 --- a/tests/guiapp/guiapp.pro +++ b/tests/guiapp/guiapp.pro @@ -1,6 +1,8 @@ QT += core gui TEMPLATE = app +DEFINES += HAVE_UDEV + INCLUDEPATH += \ ../../include \ ../../src @@ -34,5 +36,8 @@ win32 { !wince*: LIBS += -lsetupapi -luuid -ladvapi32 } unix:!macx { - #LIBS += -ludev + #contains( DEFINES, HAVE_UDEV ) { + # LIBS += -ludev + #} } + |