summaryrefslogtreecommitdiff
path: root/src/myqhash.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/myqhash.h')
-rw-r--r--src/myqhash.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/myqhash.h b/src/myqhash.h
new file mode 100644
index 0000000..9156ec2
--- /dev/null
+++ b/src/myqhash.h
@@ -0,0 +1,16 @@
+#ifndef OPENSCAD_QHASH_H_
+#define OPENSCAD_QHASH_H_
+
+/*!
+ Defines a qHash for std::string.
+
+ Note that this header must be included before Qt headers (at least
+ before qhash.h) to take effect.
+ */
+
+#include <qglobal.h>
+#include <string>
+extern uint qHash(const std::string &);
+#include <QHash>
+
+#endif
contact: Jan Huwald // Impressum