QCA enc/dec(AES128) , crashing when start in other computer
-
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?
-
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
-
-
You should use Dependency Walker and check for the missing .dlls.
You also have windeployqt that should help you with this task.
-
You should use Dependency Walker and check for the missing .dlls.
You also have windeployqt that should help you with this task.
-
Unfortunately the image upload is currently broken.
Here you have a guide on how to insert images.
-
That part looks good.
Did you run windeployqt ?
-
@SGaist
yes i run, but when i start my app, it showmessage, missing libqca.dllits 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...
-
a wild shot from
http://stackoverflow.com/questions/20623326/compiled-app-wants-to-load-dll-from-absolute-pathTry to create a new sub folder
crypto
and place
libqca-ossl.dll
and friends there.