QT += widgets HEADERS = dialog.h SOURCES = dialog.cpp \ main.cpp QT += network # install target.path = $$[QT_INSTALL_EXAMPLES]/network/loopback INSTALLS += target