-
Notifications
You must be signed in to change notification settings - Fork 8
checkpoint: Qt5 on OS X #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Don't just blindly pull it. I have not tested this.
In Qt5, qt_mac_execute_apple_script got desupported. Luckily, QSystemTrayIcon appears to handle Notifications Center, and handles Growl prior to that. "The Growl notification system must be installed for QSystemTrayIcon::showMessage() to display messages on Mac OS X prior to 10.8 (Mountain Lion)." http://doc.qt.io/qt-5/qsystemtrayicon.html
At some point, Apple changed over from libstdc++ to libc++. Modern homebrew builds expect libc++. Change the minimum deployment target to 10.9 temporarily; 10.7 support may be possible. 10.6 support would seem to require custom Homebrew builds of (at least) Boost and libdb_cxx with CXXFLAGS += -stdlib=libstdc++, or the equivalent deployment target.
|
Grr, this is giving me problems on the latest Xcode, which seems to want C++11. I’ll fix. |
|
Damn you’re a coding machine! Notifications will come if you receive coins — unless you’re talking about alerts? I’ll just fire off another 1,000 coins at you to test when you’re ready — wonder if we should fire up a Slack thing to do the instant messaging? -dvd On May 1, 2016, at 13:27, Jay Carlson notifications@github.com wrote:
|
|
Doh, homebrew completely broke macqtdeploy for Qt5. I just spent a few hours debugging before finding Homebrew/legacy-homebrew#42191. Upshot: use the upstream Qt5 libraries if you ever want to deploy a Qt5 app on a non-homebrew system. Lemme finish this bug before I think of anything else. |
|
I gave up and went back to Homebrew Qt. It works better. So, to build this branch: The executable runs on 10.7. I don’t have Growl installed, so I don’t think I’ll get notifications. |
I’m just checkpointing progress on Qt5. This should work on OS X 10.9 and later.
Could you check if notifications work? I don’t know how to elicit one.
I’m going to test a build of this on 10.7. I’m not sure 10.6 is going to work, certainly not without a lot of Homebrew rebuild-from-source.