I need to build some DLLs using Qt 5, but I must be doing something wrong since the program that needs it isnt working. I know there is something wrong because when I run the dependency walker on any of the builded dlls, it says there are wrong linkings or that it cannot find certain DLLs:
I believe it is because some things are in x64bits while others in x32bits. I am working on a 64bits platform, but I am trying to build a 32bits application with 32bits DLLs. I use 32bits mingw compiler, 32bits Qt version, 32bits everything but OS. To be honest Im rather newbie on this and Im somewhat lost, could someone point me in the right direction? Whats wrong with my compiling?
This is the .pro file of the shown DLL:
TEMPLATE = lib
TARGET = QENC
DESTDIR = ../release
QT += core gui widgets
CONFIG += release
DEFINES += QENC_LIB QT_DLL
INCLUDEPATH += ./GeneratedFiles \
./GeneratedFiles/Release \
. \
../../../proj-4.8.0/src
DEPENDPATH += .
MOC_DIR += ./GeneratedFiles/release
DLLDESTDIR += release
OBJECTS_DIR += release
UI_DIR += ./GeneratedFiles
RCC_DIR += ./GeneratedFiles
include(QENC.pri)
PS: I even get errors in the QtCored.dll and other DLLs that Qt installs :S it might be nothing or it could be the source of the error.