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
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
10 Posts 3 Posters 2.0k Views 2 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.
  • L Offline
    L Offline
    LodiCode
    wrote on 18 Oct 2016, 18:43 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 18 Oct 2016, 19:48 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
      • L Offline
        L Offline
        LodiCode
        wrote on 18 Oct 2016, 19:58 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
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 18 Oct 2016, 20:00 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

          L 1 Reply Last reply 18 Oct 2016, 20:41
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 18 Oct 2016, 20:03 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

            L 1 Reply Last reply 18 Oct 2016, 20:17
            1
            • S SGaist
              18 Oct 2016, 20:03

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

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

              L Offline
              L Offline
              LodiCode
              wrote on 18 Oct 2016, 20:17 last edited by
              #6

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

              Let's code?

              1 Reply Last reply
              0
              • S SGaist
                18 Oct 2016, 20:00

                Unfortunately the image upload is currently broken.

                Here you have a guide on how to insert images.

                L Offline
                L Offline
                LodiCode
                wrote on 18 Oct 2016, 20:41 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 18 Oct 2016, 21:00 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

                  L 1 Reply Last reply 18 Oct 2016, 21:18
                  0
                  • S SGaist
                    18 Oct 2016, 21:00

                    That part looks good.

                    Did you run windeployqt ?

                    L Offline
                    L Offline
                    LodiCode
                    wrote on 18 Oct 2016, 21:18 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
                    • M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 18 Oct 2016, 21:28 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

                      3/10

                      18 Oct 2016, 19:58

                      7 unread
                      • Login

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