diff --git a/src/core/api/core_api.pro b/src/core/api/core_api.pro
index e62578db2306b120d2396ecab76774df290e52b4..d11994e98bf73789f24188dc7cb46f0c83321d46 100644
--- a/src/core/api/core_api.pro
+++ b/src/core/api/core_api.pro
@@ -4,7 +4,7 @@ DESTDIR = $$OUT_PWD/$$getConfigDir()
 TEMPLATE = lib
 
 CONFIG += staticlib c++11
-QT += network
+QT += network core-private
 
 # Don't create .prl file for this intermediate library because
 # their contents get used when linking against them, breaking