samedi 20 mars 2021

QSIGSEGV fault in release mode

Here is my .pro file

QT += widgets
QT += charts
QT += multimedia
QT += core
requires(qtConfig(combobox))

CONFIG += c++11
SOURCES += \
    bracenode.cpp \
    bracetree.cpp \
    calculator.cpp \
    chartwidget.cpp \
    compressor.cpp \
    function.cpp \
    functionnode.cpp \
    functiontree.cpp \
    main.cpp \
    mainwindow.cpp \
    wavfile.cpp
    qnx: target.path = /tmp/$${TARGET}/bin
    else: unix:!android: target.path = /opt/$${TARGET}/bin
    !isEmpty(target.path): INSTALLS += target
HEADERS += \
    DataTable.h \
    bracenode.h \
    bracetree.h \
    calculator.h \
    chartwidget.h \
    compressor.h \
    function.h \
    functionnode.h \
    functiontree.h \
    mainwindow.h \
    wavfile.h
RESOURCES     = application.qrc

All this .cpp , .h, .qrc files exists. In debug mode my program works correctly. But when i'm trying to build her in release mode, resease folder still empty. So When I press green button "Run" in release mode I'd instantly got SIGSEGV fault.

What should I do? I want free run .exe file of my program to share it.

Aucun commentaire:

Enregistrer un commentaire