Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. QCA - AES 128
QtWS25 Last Chance

QCA - AES 128

Scheduled Pinned Locked Moved Mobile and Embedded
14 Posts 4 Posters 13.5k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • X Offline
    X Offline
    XerXi
    wrote on 2 Feb 2011, 12:50 last edited by
    #5

    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

    SergiBC - Developer

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on 2 Feb 2011, 14:57 last edited by
      #6

      I have no idea if it's supported for WinCE, maybe the maintainer(s) of QCA can help you with that.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • X Offline
        X Offline
        XerXi
        wrote on 2 Feb 2011, 16:06 last edited by
        #7

        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 RAM

        Device Machine
        Windows Mobile 6.5 Professional
        Casio IT-800 —> Marvell® PXA320 624MHz

        Any help?

        Thanks a lot

        SergiBC - Developer

        1 Reply Last reply
        0
        • X Offline
          X Offline
          XerXi
          wrote on 3 Feb 2011, 07:35 last edited by
          #8

          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!!!

          SergiBC - Developer

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on 3 Feb 2011, 13:43 last edited by
            #9

            Try adding this to your .pro file:

            @
            CONFIG += crypto
            @

            This adds the QCA capabilities to your project.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • X Offline
              X Offline
              XerXi
              wrote on 3 Feb 2011, 13:56 last edited by
              #10

              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.

              SergiBC - Developer

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on 3 Feb 2011, 14:04 last edited by
                #11

                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).

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  trungnh102
                  wrote on 11 Feb 2011, 02:45 last edited by
                  #12

                  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

                  1 Reply Last reply
                  0
                  • X Offline
                    X Offline
                    XerXi
                    wrote on 11 Feb 2011, 07:41 last edited by
                    #13

                    Hello trungnh102,

                    No. I used "wincrypt.h" library for c++.

                    Sorry

                    SergiBC - Developer

                    1 Reply Last reply
                    0
                    • R Offline
                      R Offline
                      rileo8
                      wrote on 5 Dec 2013, 13:31 last edited by
                      #14

                      Hi,

                      i know that is not qt related..but can you me an example of how you use wincrypt.h for aes crypt/decrypt?

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved