mbg033 / monero-gui

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

Check and fix MacOS build #13

Open mbg033 opened 8 years ago

antanst commented 8 years ago

I've just tried to build on El Capitan with Qt 5.6.1.

Steps:

The app crashes. The complete logs are here: https://paste.fedoraproject.org/397787/88691146/

When I cd build; make clean; cd ..; qmake; make and then run ./release/monero-core.app/Contents/MacOS/monero-core the app starts successfully though.

mbg033 commented 8 years ago

seems like it is an issue with macdeployqt in Qt 5.6.1. I tried both Qt 5.7 and Qt 5.6.1 and I see the crash only if using Qt 5.6.1

mbg033 commented 8 years ago

PS I don't have a real mac, only VM with Yosemite. it would be helpful if somebody with latest MacOS can confirm build/deploy with Qt 5.7

dhcrzf commented 8 years ago

Here is output from build.sh on 10.11.6 on a MacBook Pro (Mid 2014), Qt 5.7 - https://paste.fedoraproject.org/401331/

Screenshot of app running - http://imgur.com/a/e6M8f

nullrank commented 8 years ago

./build.sh builds fine on 10.11.6 (Mid 2012), Qt 5.7 monero-core.app runs fine. Let me know if you want logs/screens

the-mustard-tiger commented 8 years ago

Failing for me on 10.11.5, but I'm struggling to figure out how to get qmake to use QT5, it wants to use QT4. Entered a separate bug.

qmake --version QMake version 2.01a Using Qt version 4.8.7 in /usr/local/Cellar/qt/4.8.7_2/lib

sammy007 commented 8 years ago

Issue #13, I wish I am not superstitious. I finally managed to compile it, build.sh is good. My Qt5 is installed via homebrew.

Looks like make deploy screwed me. So I omitted this step.

xmrdc commented 8 years ago

@nullrank @dhcrzf @sammy007 Are you guys able to connect the GUI to testnet and Transfer? I get a blank screen when I click on Transfer. Can you let me know all of your dependencies and versions?

mbg033 commented 8 years ago

Sorry, that was a bug I introduced while working on translations stuff. Fixed in b199c5fe0a6d7998bd7d263f98ee2a36c78e6552

mbg033 commented 8 years ago

@sammy007, make deploy simply invokes macdeployqt. It works correctly with Qt 5.7 but with Qt 5.6.1 it produces broken app bundle.

sammy007 commented 8 years ago

Ah good then, I have exactly 5.6.1 version in brew. Will wait for 5.7.

xmrdc commented 8 years ago

@sammy007 see issue 33 to install 5.7

dhcrzf commented 8 years ago

@xmrdc I also get a blank screen when clicking Transfer. The Network status indicator in the bottom left corner displays "Disconnected".

OS X 10.11.6 Qt 5.7 (installed using the official Qt installer)

xmrdc commented 8 years ago

You shouldn't now. Ilya made an update w/in the last 24 hours. I can see the screen now, but haven't tested the transfer yet. Did you try re-downloading and rebuilding?