浏览代码

Export the qHash overload so that external libraries can reference it.

Sascha Zelzer 13 年之前
父节点
当前提交
9a185fe044
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      Libs/CommandLineModules/Core/ctkCmdLineModuleCache.cpp

+ 2 - 1
Libs/CommandLineModules/Core/ctkCmdLineModuleCache.cpp

@@ -29,7 +29,8 @@
 #include <QHash>
 
 #if (QT_VERSION < QT_VERSION_CHECK(4,7,0))
-int qHash(const QUrl& url)
+#include "ctkCommandLineModulesCoreExport.h"
+CTK_CMDLINEMODULECORE_EXPORT int qHash(const QUrl& url)
 {
   return qHash(url.toString());
 }