diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2013-01-11 12:23:27 +0400 |
---|---|---|
committer | Denis Shienkov <denis.shienkov@gmail.com> | 2013-01-12 07:36:54 +0100 |
commit | 08a8d9019515456d84aaca342ed8032af7188323 (patch) | |
tree | cbc3e9408bf32105f75209866b9d09fa30da09fa /src | |
parent | 60a508d30c790c7b52f470b15566e171d4c8351c (diff) | |
download | qtserialport-08a8d9019515456d84aaca342ed8032af7188323.tar.gz |
Fix building all targets by default on Win32 and Mac for Qt4.x
Previously, for Qt4.x on Windows and Mac to build the project it was
necessary to separately specify the purpose Release and Debug, what
complicates the assembly, e.g. see Wiki:
http://qt-project.org/wiki/QtSerialPort#e200b03e6aa6d5363db5bdbb4386720c
Now, command "qmake qtserialport.pro" produces default Makefile,
that "(n)make && (n)make install" lead to the building and installation
of both Release and Debug targets for Windows and Mac.
Change-Id: I2b732aa7485eadf5a9082beb66b6024b7b5e6b1c
Reviewed-by: Laszlo Papp <lpapp@kde.org>
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/serialport/serialport.pro | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serialport/serialport.pro b/src/serialport/serialport.pro index 556933a..0d1e13b 100644 --- a/src/serialport/serialport.pro +++ b/src/serialport/serialport.pro @@ -14,5 +14,6 @@ greaterThan(QT_MAJOR_VERSION, 4) { TARGET = $$qtLibraryTarget(SerialPort$$QT_LIBINFIX) include($$PWD/qt4support/install-helper.pri) CONFIG += module create_prl + win32|mac:CONFIG += debug_and_release build_all mac:QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET } |