The application was unable to start correctly (0xc000007b) in Qt

2

I use Qt creator 5.10.0 in Windows 7. I have built an exe using VC2010 c++ complier.

When I click the exe, it says QMTRACE.dll is lacking. When I add the dll into my project, error occurs: The application was unable to start correctly (0xc000007b)

#-------------------------------------------------
#
# 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



 LIBS += -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -lDownloadLib \
    -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -lEfuseLibrary \
    -L"D:/EPS_projects/2018to2019/29_IOT_MDI/MDT/lib" -lQMTRACE \

My project is 32 bit, I used VC2010 32-BIT complier, QMTRACE.dll is x86

c++
qt
asked on Stack Overflow Oct 24, 2019 by user10173984 • edited Oct 24, 2019 by user10173984

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0