jsoltren/XMIT build fixes for macOS
authorJosé Hiram Soltren <jsoltren@gmail.com>
Sat, 13 Mar 2021 17:14:59 +0000 (11:14 -0600)
committerPurdea Andrei <andrei@purdea.ro>
Wed, 17 Mar 2021 20:39:28 +0000 (22:39 +0200)
Builds Intel binary on macOS 10.15.7.
Demonstrated to work on ARM Macs.

keyboards/xwhatsit/util/util/.gitignore
keyboards/xwhatsit/util/util/README.md
keyboards/xwhatsit/util/util/util.pro

index 837b11f..d4ed2df 100644 (file)
@@ -7,3 +7,5 @@ util_plugin_import.cpp
 release
 Makefile
 Makefile.*
+util.app/
+util.dmg
index 6a5fc5a..3e8f71c 100644 (file)
@@ -50,7 +50,7 @@ This has not been tested yet. You may need to tweak util.pro for this to work. I
 1) Install Homebrew, see http://brew.sh
 2) ```brew install qt5```
 3) ```brew install hidapi```
-4) Probably Optional (but haven't tried without yet): ```brew cask install qt-creator```
+4) Probably Optional (but haven't tried without yet): ```brew install qt-creator```
 5) Change directory to where util.pro lives.
 6) ```/usr/local/opt/qt5/bin/qmake util.pro```
 7) ```make```
index 75b5835..9874efb 100644 (file)
@@ -69,8 +69,8 @@ unix:!macx {
 }
 
 macx {
-    INCLUDEPATH += /usr/local/Cellar/hidapi/0.9.0/include/hidapi
-    LIBS += -L/usr/local/Cellar/hidapi/0.9.0/lib -lhidapi
+    INCLUDEPATH += /usr/local/Cellar/hidapi/0.10.1/include/hidapi
+    LIBS += -L/usr/local/Cellar/hidapi/0.10.1/lib -lhidapi
 }
 
 win32 {