Hi there !
Finally, I think I've solved my issue alone T_T ...
In fact, in the crypto.prf, I saw this:
@mac: {
framework_dir = $$QCA_LIBDIR
exists($$framework_dir/qca.framework) {
#QMAKE_FRAMEWORKPATH *= $$framework_dir
LIBS += -F$$framework_dir
INCLUDEPATH += $$framework_dir/qca.framework/Headers
LINKAGE = -framework qca
}
}@
Which opened my eyes, telling me that the header I've modified is not good.
As Qt will "use" the QCA_INCDIR to look for QtCrypto, this "define" must point to the "Headers" inside "/qca.framework/".
THEN !! I saw that it uses the QCA_LIBDIR to find the libs, by adding the same directory as above, to assign it to the "INCLUDEPATH" config...
So, here is my new crypto.prf head:
@QCA_INCDIR = /Library/Frameworks/qca.framework/Headers
QCA_LIBDIR = /Library/Frameworks/
#QCA_INCDIR = /usr/local/include #Old
#QCA_LIBDIR = /usr/local/lib #Old@
No more compiling issue :)
Thank you for your help anyway =)
(But I don't change the title to "Solved", because I'mnot sure yet I won't have another issue with that)
EDIT: BTW, with the earlier QtSDK, Qt's Frameworks are located in: ~/QtSDK/Desktop/Qt/472/gcc/lib/, so... I've moved the qca.framework directory inside it, and changed the QCA_INCDIR & QCA_LIBDIR definition.
Without doing it, Qt didn't complain on compile, but I had to add "INCLUDEPATH += /Library/Frameworks/qca.framework/Headers" to get the help and the auto-completion.
Now I'm done :)
Except that if you want to install (& compile) qca-ossl on a mac, you will need this: http://pastebin.com/nVkaiGWP
Cheers!