[Interest] [RESOLVED] Re: Need help on QCA library, just migrated from Linux to Mac ...

Aaron Lewis the.warl0ck.1989 at gmail.com
Fri Jan 2 05:03:07 CET 2015


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.1989 at 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



More information about the Interest mailing list