64Bits dll confilict with 32Bits project after using windeployqt for packing

0

I use Qt creator 5.10.0 in 64Bits windows 7.

I use VC 2010 32Bits complier.

I pack my .exe using windeployqt. But it introduced 64Bits dll like Qt5Gui.

And when I click the .exe error occurs: The application was unable to start correctly (0xc000007b)

It seems like my .exe is conflict with the 64Bits dll.

#-------------------------------------------------
#
# Project created by QtCreator 2015-12-23T11:43:59
#
#-------------------------------------------------

QT       += core gui
QT       += serialport


 greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

 TARGET = MDT
 TEMPLATE = app




SOURCES += main.cpp\
    mainwindow.cpp \
checkboxheader.cpp \
ft_file_info.cpp \
ui_dll_function.cpp \
ui_utility.cpp \
startprocess.cpp \
qmdttimer.cpp \
usbswitch.cpp

HEADERS  += mainwindow.h \
checkboxheader.h \
ft_file_info.h \
ui_dll_function.h \
ui_utility.h \
startprocess.h \
qmdttimer.h \
QMtrace.h \
usbswitch.h

FORMS    += mainwindow.ui

INCLUDEPATH += $PWD/DownloadLib



 INCLUDEPATH += C:/local/boost_1_71_0
c++
qt
asked on Stack Overflow Oct 26, 2019 by li yuting

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0