summaryrefslogtreecommitdiff
path: root/src/serialport/serialport.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/serialport/serialport.pro')
-rw-r--r--src/serialport/serialport.pro18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/serialport/serialport.pro b/src/serialport/serialport.pro
new file mode 100644
index 0000000..5fdec9f
--- /dev/null
+++ b/src/serialport/serialport.pro
@@ -0,0 +1,18 @@
+QT = core
+DEFINES += QT_SERIALPORT_LIB
+VERSION = 1.0.0
+
+include($$PWD/serialport-lib.pri)
+
+greaterThan(QT_MAJOR_VERSION, 4) {
+ load(qt_build_config)
+ QT += core-private
+ TARGET = QtAddOnSerialPort
+ load(qt_module)
+} else {
+ TEMPLATE = lib
+ TARGET = $$qtLibraryTarget(SerialPort$$QT_LIBINFIX)
+ include($$PWD/qt4support/install-helper.pri)
+ CONFIG += module create_prl
+ mac:QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
+}