-
Notifications
You must be signed in to change notification settings - Fork 35.6k
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
Build with (official binary installer) Qt 5.6 on OS X not supported #7714
Comments
Ready for some hackery? Qt installed from the offline installer, to /tmp/Qt5.6.0.
I'd be happy if someone replicates this. |
Compare with #5728... |
See here: Homebrew/legacy-homebrew@620baaf Looks like this might not affect us with Homebrew, and Linux/Win builds aren't affected either. @paveljanik mind testing with an updated Homebrew? |
I use Macports. And Qt from the binary installer, so I can't test it myself. |
@fanquake great! Can you please upload all pkgconfig files somewhere? |
@fanquake ping |
Thanks for having a closer look at this. You might want to check: I also attached my local Qt5.6 pc files: |
@paveljanik sorry for not following up. If you don't have enough info with what @jonasschnelli has provided, let me know and i'll upload my files. |
@fanquake No problem, thank you. Files from @jonasschnelli are enough. So the new summary of problems, redone from clean installation of original binary Qt installer:
This can be changed by:
This can be fixed in the To sum up: you can build with the original installer after these three steps... |
Two more
Strange. |
After adding |
We should probably document this somewhere, for example paste @paveljanik 's summary into the OSX build doc, until this is fixed in upstream (and it looks like they broke it on purpose 💩) I don't think you'll be the only one stumbling on this |
I'll prepare something, probably in the form of |
It is not worth the effort to prepare script for this. See #7789 for small doc addition. |
Hi, I have downloaded the Qt5.7 for macOsX and I have the problem discussed here: only Qt5UiTools.pc and Qt5OpenGLExtensions.pc in my $(QTROOT)/5.7/clang_64/lib/pkgconfig. The links provided by paveljanik on April, the 1st appear to be broken, is this still the path to fix the local installation of Qt coming from the official installer? Can you guys assist with this and point me to the location of the patches? Thanks, |
I have not updated yet. Please try https://github.com/Homebrew/homebrew-core/blob/master/Formula/qt5.rb#L166 |
OK, I have tested with 5.7.1:
It works afterwards... Can you test it? |
Hi paveljanik,
this is great, thanks a lot!
I have downloaded the Qt5.7 distribution from Homebrew, and patched it with
the instruction and files you have provided.
I can now build (with Scons, btw) and run several examples.
I am only wondering: you gave me access to a tmp directory with the package
configuration (*.pc) files. Why aren't these already in the Homebrew , or
even the standard Qt distribution?
How did you generate these files?
Also, is Qt aware of this problem? I am really surprised that they have not
corrected it in the first place, if this appears to have been around for
(at least) the last two releases.
Thanks,
Daniele
2016-12-27 11:37 GMT+01:00 paveljanik <notifications@github.com>:
… OK, I have tested with 5.7.1:
1. add include links:
cd include
for fwk in `cd ../lib/; ls -1d *framework`; do FWK=`echo $fwk | sed 's#.framework##'`; ln -sf ../lib/$fwk/Versions/Current/Headers $FWK; done
1. fix rpath:
cd lib
for fwk in *framework; do FWK=`echo $fwk | sed 's#.framework##'`; install_name_tool -id `pwd`/$fwk/$FWK $fwk/$FWK; done
1. add pkgconfig files: http://tmp.janik.cz/Bitcoin/
qt5.7.1-addedpkgconfig.tar.gz
It works afterwards... Can you test it?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#7714 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AXnAwtrA7nUIhjfY0o4f-qSGmtzkU1_2ks5rMOqCgaJpZM4HzvQ4>
.
|
Hi paveljanik, |
Qt 5.6 was released a few days ago (http://blog.qt.io/blog/2016/03/16/qt-5-6-released/).
configure --with-gui=qt5
on OS X (can't test other systems right now) fails with:config.log
contains:Qt 5.6 contains only 2
*.pc
files compared to 89 in e.g. 5.4:Relevant upstream change: https://codereview.qt-project.org/#/c/140954/
The text was updated successfully, but these errors were encountered: