Results 1 to 2 of 2

Thread: Referencing QCA Using QMake

  1. #1
    Join Date
    Jan 2009
    Location
    Camp Lejeune, NC
    Posts
    24
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Referencing QCA Using QMake

    I'm trying to reference QCA (shared library) using QMake. How do I configure QMake based on the following information?

    Shared library:

    Qt Code:
    1. wswartzendruber@thinkpad /usr/lib/qca2 $ ll
    2. total 1236
    3. -rw-r--r-- 1 root root 376 Jul 26 22:46 libqca.prl
    4. lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so -> libqca.so.2.0.2
    5. lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so.2 -> libqca.so.2.0.2
    6. lrwxrwxrwx 1 root root 15 Jul 26 22:47 libqca.so.2.0 -> libqca.so.2.0.2
    7. -rwxr-xr-x 1 root root 1259896 Jul 26 22:47 libqca.so.2.0.2
    To copy to clipboard, switch view to plain text mode 

    Includes:

    Qt Code:
    1. wswartzendruber@thinkpad /usr/include/qca2/QtCrypto $ ll
    2. total 424
    3. -rw-r--r-- 1 root root 17 Dec 31 2004 QtCrypto
    4. -rw-r--r-- 1 root root 1409 May 16 2008 qca.h
    5. -rw-r--r-- 1 root root 30826 May 16 2008 qca_basic.h
    6. -rw-r--r-- 1 root root 72048 May 16 2008 qca_cert.h
    7. -rw-r--r-- 1 root root 41390 Apr 29 17:43 qca_core.h
    8. -rw-r--r-- 1 root root 1413 May 16 2008 qca_export.h
    9. -rw-r--r-- 1 root root 19371 May 16 2008 qca_keystore.h
    10. -rw-r--r-- 1 root root 38733 May 16 2008 qca_publickey.h
    11. -rw-r--r-- 1 root root 34345 May 16 2008 qca_securelayer.h
    12. -rw-r--r-- 1 root root 22742 May 16 2008 qca_securemessage.h
    13. -rw-r--r-- 1 root root 27536 May 16 2008 qca_support.h
    14. -rw-r--r-- 1 root root 7583 May 16 2008 qca_textfilter.h
    15. -rw-r--r-- 1 root root 20384 Jun 4 2008 qca_tools.h
    16. -rw-r--r-- 1 root root 76896 May 16 2008 qcaprovider.h
    17. -rw-r--r-- 1 root root 11206 Dec 2 2008 qpipe.h
    To copy to clipboard, switch view to plain text mode 
    Lenovo ThinkPad T400 - Gentoo Linux 2008.0 Hardened
    Apple iBook G3 - Gentoo Linux 2008.0 Desktop
    Linksys WRT54GL - OpenWrt Kamikaze
    Linksys WRT310N - Stock Crap

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Referencing QCA Using QMake

    qmake Code:
    1. LIBS += -L/usr/lib/qca2 -lqca
    2. INCLUDEPATH += /usr/include/qca2/QtCrypto
    To copy to clipboard, switch view to plain text mode 
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. The following user says thank you to wysota for this useful post:

    wswartzendruber (29th July 2009)

Similar Threads

  1. qmake sux a lot
    By singermornings in forum Qt Programming
    Replies: 6
    Last Post: 29th January 2009, 08:33
  2. Qt 4.3.1 & MinGW 5.1.3 & MSYS 1.0 qmake problem
    By mdecandia in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd October 2008, 16:52
  3. Qt Cryptographic Architecture
    By vermarajeev in forum Qt Programming
    Replies: 6
    Last Post: 9th February 2007, 13:15
  4. qmake to build both 32-bit and 64-bit
    By lni in forum Qt Programming
    Replies: 8
    Last Post: 12th December 2006, 19:35
  5. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.