1include($$OUT_PWD/../../qttools-config.pri) 2QT_FOR_CONFIG += tools-private 3requires(qtConfig(qtdiag)) 4 5CONFIG += console 6QT += core-private gui-private 7 8qtHaveModule(widgets): QT += widgets 9 10qtHaveModule(network) { 11 QT += network 12 DEFINES += NETWORK_DIAG 13} 14 15SOURCES += main.cpp qtdiag.cpp 16HEADERS += qtdiag.h 17 18load(qt_app) 19