Clone DOtherSide: git clone git@github.com:filcuc/dotherside.git
Compilation of DOtherside failed with:
CMake Error at /usr/local/lib/cmake/Qt5Core/Qt5CoreConfig.cmake:15 (message):
The imported target "Qt5::Core" references the file
... snip ...
Fix according to this github issue
brew link --force qt5 && ln -s /usr/local/Cellar/qt/5.14.2/mkspecs /usr/local/mkspecs && ln -s /usr/local/Cellar/qt/5.14.2/plugins /usr/local/plugins
- qt5 might already be linked by brew.
- use sudo
ln -s
if required.
cmake ..
works after the above.
make
succeeded.
make install
results in:
-- Install configuration: ""
-- Installing: /usr/local/include/DOtherSide/DOtherSide.h
-- Installing: /usr/local/include/DOtherSide/DOtherSideTypes.h
-- Installing: /usr/local/lib/libDOtherSide.0.6.4.dylib
-- Installing: /usr/local/lib/libDOtherSide.0.6.dylib
-- Installing: /usr/local/lib/libDOtherSide.dylib
nimble install nimqml
git@github.com:filcuc/nimqml.git
cd nimqml/examples/contactapp
nimble build
an app named main
will be built. Run it with ./main