Never mind. Just got hint from the pkgbuild file. Whatever guide you found online, e.g -lqca -LXX, is a fake and won't work.
The correct one is: INCLUDEPATH += /usr/local/homebrew/Cellar/qca/2.1.0/include/ LIBS += -F/usr/local/homebrew/Cellar/qca/2.1.0/lib -framework qca Just link the headers to that include path and name it "QtCrypto" now everything works, nice! On Fri, Jan 2, 2015 at 11:51 AM, Aaron Lewis <the.warl0ck.1...@gmail.com> wrote: > Hi, > > I installed qt4.8 and qca with homebrew. > > The qmake tool chain works. But when I compile a qca application (that > compiles in Linux) > It could not find the QtCrypto/qca.h: > > ./widget.h:5:10: fatal error: 'QtCrypto/qca.h' file not found > #include <QtCrypto/qca.h> > > Looks like the QCA library is installed here, > %> ls /usr/local/homebrew/Cellar/qca/2.1.0/lib/qca.framework/ > ./ ../ Headers@ Resources@ Versions/ qca@ > > Is there any quick way to make this compile smoothly? There's nothing > on the official github page .. > > -- > Best Regards, > Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ > Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 -- Best Regards, Aaron Lewis - PGP: 0x13714D33 - http://pgp.mit.edu/ Finger Print: 9F67 391B B770 8FF6 99DC D92D 87F6 2602 1371 4D33 _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest