diff --git a/src/libs/utils/utils-lib.pri b/src/libs/utils/utils-lib.pri index 9c5be39c030bd3939e2b892140e1a751b444b5c8..cf45860794fd178ce06d370f7a0d3f91114d136a 100644 --- a/src/libs/utils/utils-lib.pri +++ b/src/libs/utils/utils-lib.pri @@ -8,6 +8,10 @@ QT += gui network qml CONFIG += exceptions # used by portlist.cpp, textfileformat.cpp, and ssh/* +win32: LIBS += -luser32 -lshell32 +# PortsGatherer +win32: LIBS += -liphlpapi -lws2_32 + SOURCES += $$PWD/environment.cpp \ $$PWD/environmentmodel.cpp \ $$PWD/qtcprocess.cpp \ diff --git a/src/libs/utils/utils.pro b/src/libs/utils/utils.pro index 83d61eac6dff4776c77eabf95f7291465a95b12e..b3f2f20892830c756a762560667420fd3a5a6b28 100644 --- a/src/libs/utils/utils.pro +++ b/src/libs/utils/utils.pro @@ -1,8 +1,4 @@ include(../../qtcreatorlibrary.pri) include(utils-lib.pri) -win32: LIBS += -luser32 -lshell32 -# PortsGatherer -win32: LIBS += -liphlpapi -lws2_32 - DEFINES += QTC_REL_TOOLS_PATH=$$shell_quote(\"$$relative_path($$IDE_LIBEXEC_PATH, $$IDE_BIN_PATH)\")