Question

When I try to use QJson library application cannot even start. I get message path\app.exe exited with code 128. I include QJson in app.pro as followsLIBS += qjson/lib/qjson0.dll QJson is in my project directory and I includ eserializer.h #include "qjson/src/serializer.h" Then when I try to declare Serializer objectQJson::Serializer serializer;I got this code 128 error when trying to run application. I tried to debug it and check on what line it has problems but it seems like it doesn't even start to execute main function, although the process mingw32-make.exe exited normally.

Was it helpful?

Solution

Most probably the qjson DLL is not found. Try adding the directory it is located in to the PATH, or copy the DLL into the same directory where your executable is.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top