QCA enc/dec(AES128) , crashing when start in other computer
-
wrote on 18 Oct 2016, 18:43 last edited by
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
-
wrote on 18 Oct 2016, 19:58 last edited by LodiCode
-
Unfortunately the image upload is currently broken.
Here you have a guide on how to insert images.
-
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.
wrote on 18 Oct 2016, 20:41 last edited by LodiCodei 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. -
That part looks good.
Did you run windeployqt ?
-
wrote on 18 Oct 2016, 21:18 last edited by LodiCode
@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.
3/10