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