错误:QNetworkReply:没有这样的文件或目录

时间:2011-05-25 08:13:25

标签: qt qnetworkaccessmanager

看来pro文件中缺少某些东西:

TEMPLATE = app
TARGET = 
DEPENDPATH += .
INCLUDEPATH += .

# Input
HEADERS += hello.h
SOURCES += hello.cpp
QT += webkit

还是有其他问题?

$qmake -v
QMake version 2.01a
Using Qt version 4.7.0 in /opt/qtsdk-2010.05/qt/lib

1 个答案:

答案 0 :(得分:6)

此行已丢失:.pro文件中的QT += network