Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QCA enc/dec(AES128) , crashing when start in other computer
QtWS25 Last Chance

QCA enc/dec(AES128) , crashing when start in other computer

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 3 Posters 1.9k 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.
  • LodiCodeL Offline
    LodiCodeL Offline
    LodiCode
    wrote on last edited by
    #1

    When i start my own software in my developer machine it start and enc/dec fine, but when other machine run it got crash, in app folder, i put dlls, libqca.dll, and in pluglins/crypto/ libqca-ossl.dll, libqca-softstore.dll, libqca-gnupg.dll, libqca-logger.dll

    the application start, but when i click in buton to enc or dec it crash.

    exist others dlls that i need to put in folder?

    Let's code?

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

      Hi and welcome to devnet,

      Did you check that you also have the dependencies of QCA along your application ? As well as the dependencies of the plugins ? e.g. OpenSSL

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

      1 Reply Last reply
      0
      • LodiCodeL Offline
        LodiCodeL Offline
        LodiCode
        wrote on last edited by LodiCode
        #3

        img1

        img2

        http://imgur.com/ZkBecSe
        http://imgur.com/TKycsf8

        i made imgs, its my app folder!

        Let's code?

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

          Unfortunately the image upload is currently broken.

          Here you have a guide on how to insert images.

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

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

            You should use Dependency Walker and check for the missing .dlls.

            You also have windeployqt that should help you with this task.

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

            LodiCodeL 1 Reply Last reply
            1
            • SGaistS SGaist

              You should use Dependency Walker and check for the missing .dlls.

              You also have windeployqt that should help you with this task.

              LodiCodeL Offline
              LodiCodeL Offline
              LodiCode
              wrote on last edited by
              #6

              @SGaist
              i go try it thanks alot for your reply!

              Let's code?

              1 Reply Last reply
              0
              • SGaistS SGaist

                Unfortunately the image upload is currently broken.

                Here you have a guide on how to insert images.

                LodiCodeL Offline
                LodiCodeL Offline
                LodiCode
                wrote on last edited by LodiCode
                #7

                @SGaist

                http://imgur.com/AEdOQmo

                i run it in my own app, it not found two dlls, but see in img, but in LIQCA.dll, call only CRYPT32.dll, no call any dll of my plugin folder..
                i am try to use windeployqt, but it don't get QCA dlls.

                Let's code?

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

                  That part looks good.

                  Did you run windeployqt ?

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

                  LodiCodeL 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    That part looks good.

                    Did you run windeployqt ?

                    LodiCodeL Offline
                    LodiCodeL Offline
                    LodiCode
                    wrote on last edited by LodiCode
                    #9

                    @SGaist
                    yes i run, but when i start my app, it showmessage, missing libqca.dll

                    its my ´.pro file, i am made any mistake?

                    #-------------------------------------------------
                    #
                    # Project created by QtCreator 2016-10-13T23:30:41
                    #
                    #-------------------------------------------------
                    
                    QT       += core gui network
                    
                    greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
                    
                    CONFIG += crypto
                    TARGET = QCrypto
                    TEMPLATE = app
                    
                    
                    SOURCES += main.cpp\
                            qcrypto.cpp \
                        issecurebuild.cpp
                    
                    HEADERS  += qcrypto.h \
                        issecurebuild.h
                    
                    FORMS    += qcrypto.ui
                    
                    INCLUDEPATH += C:/QCA/include/QtCrypto
                    
                    LIBS += -L"C:/QCA/lib"
                    LIBS += -lqca
                    LIBS += -L"C:/QCA/lib/qca/crypto" -lqca-ossl -lqca-gnupg -lqca-logger -lqca-softstore
                    
                    

                    if i am put the dll in the folder the app open, but if i try to enc/dec crashs...

                    Let's code?

                    1 Reply Last reply
                    0
                    • mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      a wild shot from
                      http://stackoverflow.com/questions/20623326/compiled-app-wants-to-load-dll-from-absolute-path

                      Try to create a new sub folder
                      crypto
                      and place
                      libqca-ossl.dll
                      and friends there.

                      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