centralize qca inclusion to crypto.prf in the base dir

svn path=/trunk/kdesupport/qca/; revision=815977
This commit is contained in:
Justin Karneges 2008-06-02 22:35:07 +00:00
parent ece6dbfe27
commit a7fc09ec5a
5 changed files with 6 additions and 28 deletions

View File

@ -1,8 +1,10 @@
unix:include(confapp_unix.pri)
windows:include(confapp_win.pri)
QCA_LIBNAME = qca
CONFIG(debug, debug|release) {
windows:QCA_LIBNAME = qcad
mac:QCA_LIBNAME = qca_debug
exists(crypto.prf) {
# our apps should build against the qca in this tree
include(crypto.prf)
} else {
# attempt to use system-wide qca
CONFIG *= crypto
}

View File

@ -4,12 +4,3 @@ include(../confapp.pri)
CONFIG += console
CONFIG -= app_bundle
QT -= gui
# In a real application, you use the install locations
# (eg /usr/local/include/QtCrypto and /usr/local/lib). We just do this
# so you can see the examples without needing to install first.
INCLUDEPATH += ../../include/QtCrypto
LIBS += -L../../lib
# link
LIBS += -l$$QCA_LIBNAME

View File

@ -3,7 +3,4 @@ CONFIG += console
CONFIG -= app_bundle
include(../../confapp.pri)
INCLUDEPATH += ../../include/QtCrypto
LIBS += -L../../lib -l$$QCA_LIBNAME
SOURCES += main.cpp

View File

@ -5,9 +5,6 @@ include(../../confapp.pri)
TARGET = qcatool2
DESTDIR = ../../bin
INCLUDEPATH += ../../include/QtCrypto
LIBS += -L../../lib -l$$QCA_LIBNAME
SOURCES += main.cpp
unix:{

View File

@ -4,12 +4,3 @@ include(../confapp.pri)
CONFIG += console
CONFIG -= app_bundle
QT -= gui
# In a real application, you use the install locations
# (eg /usr/local/include/QtCrypto and /usr/local/lib). We just do this
# so you can see the examples without needing to install first.
INCLUDEPATH += ../../include/QtCrypto
LIBS += -L../../lib
# link
LIBS += -l$$QCA_LIBNAME