QCA - AES 128
-
wrote on 2 Feb 2011, 12:50 last edited by
The Qt version is Qt 4.7.1 for WinCE and I've seted an environment "QTDIR" variable with its location.....
Is Qt for WinCE compatible, it isn't?Thank you
-
wrote on 2 Feb 2011, 14:57 last edited by
I have no idea if it's supported for WinCE, maybe the maintainer(s) of QCA can help you with that.
-
wrote on 2 Feb 2011, 16:06 last edited by
I don't find any contact of support in QCA:http://delta.affinix.com page...
So, does anyone know if QCA:http://delta.affinix.com is compatible with Qt 4.7.1 for WinCE??
I've surfed to this page "http://delta.affinix.com/platform/":http://delta.affinix.com/platform/ and I've found another problem... Seems that QCA is available until Visual Studio 2005 and I'm developing on 2008 version.
Has anyone worked with these conditions?
Desktop Machine
Windows XP SP3
Visual Studio 2008 Professional
Qt 4.7.1 for WinCE
Add-in plugin
Intel® Core™2 Duo CPU E6550 @2.33GHz, 3,23 GB of RAMDevice Machine
Windows Mobile 6.5 Professional
Casio IT-800 —> Marvell® PXA320 624MHzAny help?
Thanks a lot
-
wrote on 3 Feb 2011, 07:35 last edited by
Hello again,
I've downloaded "qca-2.0.1-mingw" and executed "installwin.bat". It seems works because in "$QTDIR\mkspecs\features" there is a "crypto.prf". Inside of this file:
@QCA_INCDIR = "D:\qt\qca-2.0.1-mingw\include\QtCrypto"
QCA_LIBDIR = "D:\qt\qca-2.0.1-mingw\lib"prepend this file with QCA_INCDIR/QCA_LIBDIR definitions
NOTE: any changes made to this file need to be tracked in qcm/qca.qcm
CONFIG *= qt
if we are including crypto.prf from the qca tree (and not utilizing it as
an installed qmake CONFIG feature), then point to the tree. this allows our
qca tree apps to build before qca itself is installed.
exists($$PWD/qca.pro) {
QCA_INCDIR = $$PWD/include
QCA_LIBDIR = $$PWD/lib
}LINKAGE =
on mac, if qca was built as a framework, link against it
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
}
}else, link normally
isEmpty(LINKAGE) {
INCLUDEPATH += $$QCA_INCDIR/QtCrypto
LIBS += -L$$QCA_LIBDIR
LINKAGE = -lqca
CONFIG(debug, debug|release) {
windows:LINKAGE = -lqcad
mac:LINKAGE = -lqca_debug
}
}LIBS += $$LINKAGE
@The variables on top of the file are correct. Now, I don't know what is the next step. If I add to my code: @#include <QtCrypto>@ When I compile this error is printed: @fatal error C1083: Cannot open include file: 'QtCrypto': No such file or directory@
Any Idea?
Thanks!!!
-
wrote on 3 Feb 2011, 13:43 last edited by
Try adding this to your .pro file:
@
CONFIG += crypto
@This adds the QCA capabilities to your project.
-
wrote on 3 Feb 2011, 13:56 last edited by
It doesn't work.
I'm new in Qt so I don't know if I must do something more. I only added the line what you said.
-
wrote on 3 Feb 2011, 14:04 last edited by
I don't have any further idea. QCA is not in use in my projects anymore (we once used it for the Qt3 version of our project).
-
wrote on 11 Feb 2011, 02:45 last edited by
Hello XerXi
Did you solved your problem ?
I've try to install QCA for Nokia QT SDK many times.
It doesn't work.
It is too difficult to install a snap-in -
wrote on 11 Feb 2011, 07:41 last edited by
Hello trungnh102,
No. I used "wincrypt.h" library for c++.
Sorry
-
wrote on 5 Dec 2013, 13:31 last edited by
Hi,
i know that is not qt related..but can you me an example of how you use wincrypt.h for aes crypt/decrypt?