Blame SOURCES/qt-x11-free-3.3.5-uic.patch

106311
Index: tools/designer/uic/form.cpp
106311
===================================================================
106311
--- qt/tools/designer/uic/form.cpp	(revision 460038)
106311
+++ qt/tools/designer/uic/form.cpp	(working copy)
106311
@@ -731,6 +731,13 @@
106311
             while ( !n2.isNull() ) {
106311
                 if ( n2.tagName() == "includehint" ) {
106311
                     QString file = n2.firstChild().toText().data();
106311
+                    int colons = file.find("::");
106311
+
106311
+                    if (colons != -1)
106311
+                    {
106311
+                        file = file.right(file.length() - colons - 2);
106311
+                    }
106311
+
106311
                     localIncludes += file;
106311
                 }
106311
                 n2 = n2.nextSibling().toElement();