diff options
| author | Valerio Valerio <valerio.valerio@jollamobile.com> | 2013-04-22 09:32:02 +0300 |
|---|---|---|
| committer | Valerio Valerio <valerio.valerio@jollamobile.com> | 2013-04-26 10:37:41 +0200 |
| commit | e116de6a0d4ccb58435105d2f7ecf5ea80c9541b (patch) | |
| tree | e2aa42f89b7136f3e86a1ff1dce91a5c8459dbfd /examples/messagingaccounts | |
| parent | a5d645d6a7ca026c5e43c54b24891a4b8947e2a5 (diff) | |
Allow parallel installation of qt4 and qt5 builds
Signed-off-by: Valerio Valerio <valerio.valerio@jollamobile.com>
Change-Id: I2c03d287fc871098cf45d75d4a1262b9c6c4378d
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
Diffstat (limited to 'examples/messagingaccounts')
| -rw-r--r-- | examples/messagingaccounts/messagingaccounts.pro | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/examples/messagingaccounts/messagingaccounts.pro b/examples/messagingaccounts/messagingaccounts.pro index 9b73dfcb..09de123f 100644 --- a/examples/messagingaccounts/messagingaccounts.pro +++ b/examples/messagingaccounts/messagingaccounts.pro @@ -1,9 +1,16 @@ TEMPLATE = app -TARGET = messagingaccounts target.path += $$QMF_INSTALL_ROOT/bin CONFIG += qmfclient qmfmessageserver -equals(QT_MAJOR_VERSION, 5): QT += widgets +equals(QT_MAJOR_VERSION, 4){ + TARGET = messagingaccounts + LIBS += -lqmfmessageserver -lqmfclient +} +equals(QT_MAJOR_VERSION, 5){ + TARGET = messagingaccounts5 + QT += widgets + LIBS += -lqmfmessageserver5 -lqmfclient5 +} DEPENDPATH += . @@ -24,8 +31,6 @@ LIBS += -L../../src/libraries/qmfclient/build \ macx:LIBS += -F../../src/libraries/qmfclient/build \ -F../../src/libraries/qmfmessageserver/build -LIBS += -lqmfmessageserver -lqmfclient - HEADERS += $$QTMAIL_EXAMPLE/app/accountsettings.h \ $$QTMAIL_EXAMPLE/app/editaccount.h \ $$QTMAIL_EXAMPLE/app/statusbar.h \ |
