--- a/src/qtgui/recoll.h
+++ b/src/qtgui/recoll.h
@@ -29,13 +29,14 @@
 // Open the database if needed. We now force a close/open by default
 extern bool maybeOpenDb(std::string &reason, bool force = true);
 
-class RclMain;
-extern RclMain *mainWindow;
 extern RclConfig *rclconfig;
 extern Rcl::Db *rcldb;
 extern int recollNeedsExit;
 extern int startIndexingAfterConfig; // 1st startup
 extern RclHistory *g_dynconf;
+extern const char *g_helpIndex;
+extern void setHelpIndex(const char *index);
+
 #ifdef RCL_USE_ASPELL
 class Aspell;
 extern Aspell *aspell;