$OpenBSD: patch-Modules_FindQt3_cmake,v 1.9 2016/11/28 09:15:13 dcoppa Exp $
--- Modules/FindQt3.cmake.orig	Fri Nov 11 15:37:13 2016
+++ Modules/FindQt3.cmake	Fri Nov 25 22:31:45 2016
@@ -151,7 +151,7 @@ find_library(QT_QASSISTANTCLIENT_LIBRARY
 
 # Qt 3 should prefer QTDIR over the PATH
 find_program(QT_MOC_EXECUTABLE
-  NAMES moc-qt3 moc3 moc3-mt moc
+  NAMES moc3 moc-qt3 moc3-mt moc
   HINTS
     ENV QTDIR
   PATHS
@@ -176,7 +176,7 @@ endif()
 
 # Qt 3 should prefer QTDIR over the PATH
 find_program(QT_UIC_EXECUTABLE
-  NAMES uic-qt3 uic3 uic3-mt uic
+  NAMES uic3 uic-qt3 uic3-mt uic
   HINTS
     ENV QTDIR
   PATHS
