mbg033 / monero-gui

Monero: the secure, private, untraceable cryptocurrency
Other
12 stars 6 forks source link

Mac OSX 10.11.5 fails to build - 'QQmlApplicationEngine' file not found #33

Open the-mustard-tiger opened 8 years ago

the-mustard-tiger commented 8 years ago

Attempting to build out the GUI wallet and create some better instructions for the crew.

First I found that I had an additional pre-requisite and had to install qt from homebrew. This appears to maybe be part of the problem as QQmlApplicaionEngine appears to be related to qt? Is it perhaps a path issue or something?

Here's what I see in attempting build: http://pastebin.com/8uu9p9zL

Here are the instructions I'm working on and where I'm stuck: https://docs.google.com/document/d/1o84WesPBg1jO2eMz_-1lZruQPpnH8b-5SRzIywVuE9Q/edit?usp=sharing

the-mustard-tiger commented 8 years ago

Seems related to the version of qt that my machine is picking up. qmake --version was referencing a version 4.X so I ran a brew uninstall qt and tried to force it to install v5.

I can't seem to get a command for brew that lays down version v.57 that seems to work in the other bug thread. When I run brew install qt5 it puts down version 5.6; I see a brew install qt55 out there as well but in running that it didn't help.

How are folks getting qt 5.7 installed on their Mac OS X?

raulgobr commented 8 years ago

I had the same issue.

xmrdc commented 8 years ago

brew currently doesn't have a formula to install 5.7. i dowloaded it from the QT website and then pointed the PATH variable to the QT bin directory that the installation creates

the-mustard-tiger commented 8 years ago

Are able to give some drop dead simple instructions on the path altering? I saw a few threads but none spelled it out.

I downloaded qt but it said I needed Xcode so I let that install overnight.

Thanks in advance.

Nick

On Sunday, August 7, 2016, xmrdc notifications@github.com wrote:

brew currently doesn't have a formula to install 5.7. i dowloaded it from the QT website and then pointed the PATH variable to the QT bin directory that the installation creates

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mbg033/monero-core/issues/33#issuecomment-238094184, or mute the thread https://github.com/notifications/unsubscribe-auth/AT6gPSAA6anuXp1pFxeAfL_jT3T4rXDJks5qdg-MgaJpZM4JeZ4B .

xmrdc commented 8 years ago

https://coolestguidesontheplanet.com/add-shell-path-osx/

need to find where QT5.7 was installed. Looks something like /Users/xmrdc/Qt/5.7/clang_64/bin

mbg033 commented 8 years ago

@the-mustard-tiger, I've installed Qt 5.7 using official installer from qt.io. It installs Qt to /Users/yourname/Qt/5.7/clang_64

Also, you need to have Qt's bin path in your $PATH variable, and it needs to be added before any other Qt bin path. Can be done by adding following line to the ~/.bash_profile file: export PATH=$HOME/Qt/5.7/clang_64/bin:$PATH (not sure if there's a better way in Mac's world)