-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
attempt to get OSX build working for Qt5 #35
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
What happens if you leave DYLD_FALLBACK_LIBRARY_PATH as it was? I mean, that way it's only used by make and not by configure |
Same problem.... |
You could also try to use an older version of conda-build. Last time I compiled Qt5 was with 2.0... |
Ping @danclewley |
Is it possible it is linking to the system copy of |
Also as a side note have been trying to use |
How would we know? Note that it can't find the file rather than a missing entry point. See https://gist.github.com/gillins/c1c776f8a4b7ffa836f4f61faf846d96 Dependencies look ok (I think):
Sorry I'm not very knowledgeable about OSX.
How would we change the |
I have it working - turns out the @jakirkham can you confirm you can build this on your configuration? |
Please leave them as they are. You can try to improve our approach in another build, for now the most important thing is to get this finished. And great job at finding the error, by the way! |
So I'm seeing it is trying to use the 10.10 framework instead of the 10.9 framework. Are we missing an option somewhere? 😕 FWIW I have both SDKs as I'm trying to build on something similar to Travis CI. IOW XCode 6.4 on macOS 10.10. |
I think I have a working build. Here are the details:
I was seeing something similar on my machine (macOS 10.12). By default, Qt's
The --- qtbase/mkspecs/macx-clang/qmake.conf
+++ qtbase/mkspecs/macx-clang/qmake.conf
@@ -11,6 +11,6 @@
include(../common/clang.conf)
include(../common/clang-mac.conf)
-QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.7
+QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
load(qt_config) BTW, using the
Here again, the easiest way to eliminate the failure was to write a patch: --- qtbase/src/testlib/testlib.pro
+++ qtbase/src/testlib/testlib.pro
@@ -83,7 +83,7 @@
}
# XCTest support
- !lessThan(QMAKE_XCODE_VERSION, "6.0") {
+ !lessThan(QMAKE_XCODE_VERSION, "6.0"):!lessThan(QMAKE_DEPLOYMENT_TARGET, "10.10") {
OBJECTIVE_SOURCES += qxctestlogger.mm
HEADERS += qxctestlogger_p.h With those changes, the package builds. You can test out the built package from my channel. (Warning: I didn't increment the build number!)
My branch with these changes can be found here: FWIW, I'm using Xcode 8.3 |
Can we merge this PR so @stuarteberg can submit a new one with the above SDK fixes? Alternatively, the new PR can contain the fixes in this one so we are just merging once. I don't mind 😄 |
I'm ok with merging. I got most of the way through the build (even though it was using the 10.10 SDK). I expect it would have finished (ran for like 5+hrs), but |
I guess the easiest way to do that would be to merge my commits into your branch, and then push it: git remote add stuart https://github.com/stuarteberg/qt-feedstock
git fetch stuart
git merge stuart/osx-qt5
git push origin master |
Let's merge it so @stuarteberg can open a new PR right away. |
OK, submitted as #36. |
Currently get the following error:
Does anyone know why this might happen? Am I setting
DYLD_FALLBACK_LIBRARY_PATH
incorrectly?cc: @jakirkham
xref: #15