[Qt-interest] Installing QCA under mac os x

Oliver Demetz forenbeitraege at oliverdemetz.de
Fri Jul 24 09:56:22 CEST 2009


Hi,

I have been developping on a (qt) project for several months under 
windows now, and so far - under windows - everything works fine.

Now I wanted to port this to mac os x.

I downloaded and installed the package
     qt-mac-cocoa-opensource-4.5.2.dmg

The problem now is that I need the cryptographic extensions from the QCA 
package, see
     http://delta.affinix.com/qca/

They offer binaries for mac os x, which I took and did as (only roughly) 
described:

I copied the qca.framework folder to /Library/Frameworks and I copied 
the crypto.prf file to /usr/local/Qt4.5/mkspecs/features.

Ok. Then I took my project, executed
    qmake hs.pro
which created a hs.xcodeproj file, that I opened in Xcode afterwards.
Clicking on "Build and Go" took a while and finally lead to hundreds of 
errors all being concerned with
  - "QtCrypto: No such file or directory"
or
  - "QCA has not been declared"


Question:
A) Do I have to alter something in XCode before compiling my project?
B) Is there the possibility to just have qmake create makefiles as usual 
(for Mingw)?

Thanks in advance,
with the very best regards,
Oliver



More information about the Qt-interest-old mailing list