Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. best way to use AES Encryption in QT
Qt 6.11 is out! See what's new in the release blog

best way to use AES Encryption in QT

Scheduled Pinned Locked Moved Solved General and Desktop
26 Posts 2 Posters 21.1k Views 1 Watching
  • 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.
  • SGaistS SGaist

    You can use dumpbin as explained here

    S Offline
    S Offline
    saeid0034
    wrote on last edited by
    #17

    @SGaist said in best way to use AES Encryption in QT:

    You can use dumpbin as explained here

    i check botan-ci.exe, here is result
    e8213711-4ce1-4e40-a676-2d89e29f19f5-image.png

    and here is botan.dll
    7b54fc57-5a87-4b33-b861-4b0a32690381-image.png

    both is 64bit
    and also my qt compiler is 64bit too
    d85889d1-235a-4df2-8a2b-ef3ab53d669a-image.png

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #18

      Did you also compile botan with MinGW ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      S 1 Reply Last reply
      1
      • SGaistS SGaist

        Did you also compile botan with MinGW ?

        S Offline
        S Offline
        saeid0034
        wrote on last edited by
        #19

        @SGaist said in best way to use AES Encryption in QT:

        Did you also compile botan with MinGW ?

        no i compile it with nmake
        i need to compile it with MiniGW?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #20

          If you used nmake, it means that in fact you used Visual Studio to build botan. So there's your issue. You can't mix C++ code built with MinGW with C++ code built with Visual Studio.

          Tow options here:

          • rebuild botan using MinGW
          • change your Qt version and use the one that matches your Visual Studio version

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          S 1 Reply Last reply
          2
          • SGaistS SGaist

            If you used nmake, it means that in fact you used Visual Studio to build botan. So there's your issue. You can't mix C++ code built with MinGW with C++ code built with Visual Studio.

            Tow options here:

            • rebuild botan using MinGW
            • change your Qt version and use the one that matches your Visual Studio version
            S Offline
            S Offline
            saeid0034
            wrote on last edited by
            #21

            @SGaist said in best way to use AES Encryption in QT:

            If you used nmake, it means that in fact you used Visual Studio to build botan. So there's your issue. You can't mix C++ code built with MinGW with C++ code built with Visual Studio.

            Tow options here:

            • rebuild botan using MinGW
            • change your Qt version and use the one that matches your Visual Studio version

            you recommend what version of qt for this?
            i think its beter to compile botan again..

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #22

              As I said: the one matching your current version of Visual Studio.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              1
              • SGaistS SGaist

                As I said: the one matching your current version of Visual Studio.

                S Offline
                S Offline
                saeid0034
                wrote on last edited by
                #23

                @SGaist said in best way to use AES Encryption in QT:

                As I said: the one matching your current version of Visual Studio.

                sorry i made a mistake
                I mean, which version of mingw do you recommend?

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #24

                  Use the one from your Qt installation.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 2 Replies Last reply
                  1
                  • SGaistS SGaist

                    Use the one from your Qt installation.

                    S Offline
                    S Offline
                    saeid0034
                    wrote on last edited by
                    #25

                    @SGaist said in best way to use AES Encryption in QT:

                    Use the one from your Qt installation.

                    ok i start make with mingw32-make.exe located in Qt\Tools\mingw810_64\bin

                    1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Use the one from your Qt installation.

                      S Offline
                      S Offline
                      saeid0034
                      wrote on last edited by
                      #26

                      @SGaist said in best way to use AES Encryption in QT:

                      Use the one from your Qt installation.

                      thanks for all your help
                      by build botan with miniGW

                      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