PDA

View Full Version : Referencing QCA Using QMake



wswartzendruber
29th July 2009, 00:42
I'm trying to reference QCA (shared library) using QMake. How do I configure QMake based on the following information?

Shared library:


wswartzendruber@thinkpad /usr/lib/qca2 $ ll
total 1236
-rw-r--r-- 1 root root 376 Jul 26 22:46 libqca.prl
lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so -> libqca.so.2.0.2
lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so.2 -> libqca.so.2.0.2
lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so.2.0 -> libqca.so.2.0.2
-rwxr-xr-x 1 root root 1259896 Jul 26 22:47 libqca.so.2.0.2

Includes:


wswartzendruber@thinkpad /usr/include/qca2/QtCrypto $ ll
total 424
-rw-r--r-- 1 root root 17 Dec 31 2004 QtCrypto
-rw-r--r-- 1 root root 1409 May 16 2008 qca.h
-rw-r--r-- 1 root root 30826 May 16 2008 qca_basic.h
-rw-r--r-- 1 root root 72048 May 16 2008 qca_cert.h
-rw-r--r-- 1 root root 41390 Apr 29 17:43 qca_core.h
-rw-r--r-- 1 root root 1413 May 16 2008 qca_export.h
-rw-r--r-- 1 root root 19371 May 16 2008 qca_keystore.h
-rw-r--r-- 1 root root 38733 May 16 2008 qca_publickey.h
-rw-r--r-- 1 root root 34345 May 16 2008 qca_securelayer.h
-rw-r--r-- 1 root root 22742 May 16 2008 qca_securemessage.h
-rw-r--r-- 1 root root 27536 May 16 2008 qca_support.h
-rw-r--r-- 1 root root 7583 May 16 2008 qca_textfilter.h
-rw-r--r-- 1 root root 20384 Jun 4 2008 qca_tools.h
-rw-r--r-- 1 root root 76896 May 16 2008 qcaprovider.h
-rw-r--r-- 1 root root 11206 Dec 2 2008 qpipe.h

wysota
29th July 2009, 08:09
LIBS += -L/usr/lib/qca2 -lqca
INCLUDEPATH += /usr/include/qca2/QtCrypto