使用QTcpSocket包含程序编译程序时出现流浪'\ 177'错误

时间:2019-07-26 13:22:23

标签: qt build compilation qt-creator qtcpsocket

我正在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' ... ... ...

0 个答案:

没有答案