Explorar el Código

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

Sascha Zelzer hace 13 años
padre
commit
9a185fe044
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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());
 }