Witam, napisałem prosty projekt w Qt, wykorzystując kompilator MSVC2017 64x wszytko działa dobrze, jednak kiedy wykorzystam 32 bitowy MinGW pojawia się dość sporo błędów:
nie wiem do końca dlaczego tym kończy się zmiana kompilatora, bardzo mi zależy żeby całość była stworzona w MinGW. Oto mój plik *.pro:
#-------------------------------------------------
#
# Project created by QtCreator 2019-09-30T19:15:03
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = Calculator
TEMPLATE = app
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
CONFIG += c++11
SOURCES += \
main.cpp \
calculator.cpp \
info.cpp \
parser.cpp
HEADERS += \
calculator.h \
info.h \
ast.h \
parser.h
FORMS += \
calculator.ui \
info.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RC_ICONS = icon.ico
Szukałem podobnych pytań na różnych forach ale nie udało mi się rozwiązać problemu. Nie wiem nawet jakie mogę podać dodatkowe informacje na ten temat...
w razie czego mogę udostępnić kod i inne screeny jeśli jest to potrzebne. Bardzo dziękuje za pomoc :)