4 ms·
Gist that I've been developing for quick setup guides (PRs welcome!): https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6e492e6584ed https://gist.githu
by erichdongubler 10y ago
Gist that I've been developing for quick setup guides (PRs welcome!): https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6e492e6584ed https://gist.github.com/ErichDonGubler/c802e066de7068241f0e6...
We're still trying to get this to work with Windows. I've been reporting on this issue here: https://github.com/White-Oak/qml-rust/issues/31 https://github.com/White-Oak/qml-rust/issues/31.
Any suggestions to get this going would be appreciated! Developing with Rust/QML on Windows definitely seems possible at this point...that said, most of what's left to be defined is what setup is required to actually get things to work.
- busterarm 10y agoIt was a bit of a struggle, but I was able to get this going for Mac w/Homebrew. after `brew install qt5`, I had to `brew linkapps qt5` & `brew link --force qt5`. Then `ln -s /usr/local/opt/qt5/mkspecs /usr/local/mkspecs && ln -s /usr/local/opt/qt5/plugins /usr/local/plugins` which is super not ideal. I had some error and ran `brew install doxygen --with-qt5` which may not be necessary, but after these steps it built. Edit: scratch that. As soon as I try the example in main.rs, it fails to build again. 'ld: framework not found QtCore'
- eridius 10y agoBTW, the qt5 formula explicitly says it's keg-only because it "has CMake issues when linked".
- busterarm 10y agoNoticed that. Found some discussions about a possible bug in cmake or qt5 that were reported a month or two ago.
- w4tson 10y agoI also have cmake installed for Mac w/Homebrew and used a binary install of qt-5.8. After adding the clang_64/bin dir on the $PATH I too am getting 'ld: framework not found QtCore'. Anyone able to suggest where I'm going wrong?