error: converting to execution character set: Illegal byte sequence

If there is a problem in using QT creator, first set the encoding format of the file without GBK format
and add
qmake to the. Pro file_ CFLAGS += -fexec-charset=UTF-8 -finput-charset=GBK
QMAKE_ Cxxflags + = – fexec charset = UTF-8 – find put charset = GBK
save and qmake
compile

Read More: