diff --git a/SuperBuild/patches/QT5/qt5.1-png-freetype-detection-all.diff b/SuperBuild/patches/QT5/qt5.1-png-freetype-detection-all.diff
new file mode 100644
index 0000000000000000000000000000000000000000..1a46b0acd8f10380f052d6c197c51f8ea95f45d4
--- /dev/null
+++ b/SuperBuild/patches/QT5/qt5.1-png-freetype-detection-all.diff
@@ -0,0 +1,25 @@
+--- qt-everywhere-src-5.10.1/qtbase/src/gui/configure.json	2018-02-08 19:24:48.000000000 +0100
++++ QT5/src/QT5/qtbase/src/gui/configure.json	2018-04-10 14:34:05.529668610 +0200
+@@ -158,8 +158,8 @@
+                 ]
+             },
+             "sources": [
+-                { "type": "pkgConfig", "args": "freetype2" },
+-                { "type": "freetype", "libs": "-lfreetype" }
++                { "type": "freetype", "libs": "-lfreetype" },
++                { "type": "pkgConfig", "args": "freetype2" }
+             ]
+         },
+         "fontconfig": {
+@@ -289,9 +289,9 @@
+                 "main": "(void) png_create_read_struct(PNG_LIBPNG_VER_STRING,0,0,0);"
+             },
+             "sources": [
+-                { "type": "pkgConfig", "args": "libpng" },
++                { "libs": "-lpng", "condition": "!config.msvc" },
+                 { "libs": "-llibpng", "condition": "config.msvc" },
+-                { "libs": "-lpng", "condition": "!config.msvc" }
++                { "type": "pkgConfig", "args": "libpng" }
+             ],
+             "use": [
+                 { "lib": "zlib", "condition": "features.system-zlib" }