/usr/share/qt4/mkspecs/features/crypto.prf is in libqca2-dev 2.1.3-2ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | QCA_INCDIR = /usr/include
QCA_LIBDIR = /usr/lib/x86_64-linux-gnu
CONFIG *= qt
LINKAGE =
exists($$QCA_LIBDIR/qca.framework) {
QMAKE_CXXFLAGS += -F$$QCA_LIBDIR
LIBS *= -F$$QCA_LIBDIR
INCLUDEPATH += $$QCA_LIBDIR/qca.framework/Headers
LINKAGE = -framework qca
}
# else, link normally
isEmpty(LINKAGE) {
INCLUDEPATH += $$QCA_INCDIR/QtCrypto
LIBS += -L$$QCA_LIBDIR
LINKAGE = -lqca
CONFIG(debug, debug|release) {
windows:LINKAGE = -lqcad
mac:LINKAGE = -lqca_debug
}
}
LIBS += $$LINKAGE
|