diff --git a/modules/gui/qt4/util/searchlineedit.hpp b/modules/gui/qt4/util/searchlineedit.hpp
index 6b9801751b6ec7b6572fb75c4891e275f23cefbc..3e81464c7ec6897e54b1ad65704f6d1c5be997a7 100644
--- a/modules/gui/qt4/util/searchlineedit.hpp
+++ b/modules/gui/qt4/util/searchlineedit.hpp
@@ -27,7 +27,7 @@
 #ifndef _SEARCHLINEEDIT_H_
 #define _SEARCHLINEEDIT_H_
 
-#import "../qt4.hpp"
+#include "qt4.hpp"
 #include <QLineEdit>
 
 #if HAS_QT47
@@ -96,6 +96,8 @@ signals:
     void searchDelayedChanged( const QString& );
 };
 #else
+
+/* On Mac, we try to use the native NSSearchField */
 #include <QMacCocoaViewContainer>
 
 class SearchLineEdit : public QMacCocoaViewContainer