filcuc / nimqml

Qt Qml bindings for the Nim programming language
Other
161 stars 20 forks source link

Compiling for OSX Catalina #29

Closed notchris closed 1 year ago

notchris commented 3 years ago

Hello, I was able to run the examples and compile the libDOtherSide.dylib for Catalina and wanted to share the steps.

Install deps with homebrew:

brew install qt
brew link qt --force
brew install doxygen

Link qt paths:

sudo ln -s /usr/local/Cellar/qt/5.15.1/mkspecs /usr/local/mkspecs
sudo ln -s /usr/local/Cellar/qt/5.15.1/plugins /usr/local/plugins

Then you need to make the libDOtherSide.dylib file:

Hope this helps anyone who is also new with this sort of thing. Note: You have to move the generated dylib to '/usr/local/lib/', and may need to rename the file if the version is appended to the name.

filcuc commented 1 year ago

Moved this info into a separate wiki page