我正在Qt Creator中构建一个应用程序。即使是最简单的应用程序也无法编译,并带有错误字符。
QT += core
QT += network
QT -= gui
TARGET = test_debag_tcp_exe
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
SOURCES += \
main.cpp
我的应用程序(main.cpp)看上去
#include <QCoreApplication>
#include <QTcpSocket>
int main()
{
return 0;
}
有了这个简单的代码,当我编译时,我仍然得到 程序中流浪'\ 177' 程序中流浪'\ 1' ... ... ...