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
Compile under OSX, Psi+.app is damaged or incomplete #677
Comments
Webkit is deprecated and it was removed from Qt5 since 5.6 version |
It should fail even to compile. strange. |
Well, it doesn't detect webkit, so that part isn't essential. I went back and applied all of the patches/mac (some of these had to be done manually), but still the same result. |
We need some Mac expert here. I have no idea. |
Apk produced with make is not ready for use. You need copy all the dependencies into apk. Instead you should use our scripts from maintanence repo. |
Quickly reading through |
Here is the build of master with #625. Qt should be installed using The .app bundle was assembled manually, I'll take a look at the scripts later. There seems to be a qt5-related issue where psi/psi+ cannot connect to the server. Switching offline/online several times usually helps. This does not reproduce when built with qt4. |
Thanks for uploading this, but it still has problems on < 2011 Macs. I'll try to assemble the app bundle with my binary later tonight (from a 2011 11" i7 MBA), as I recall there were some missing pieces like the Framework directory. The included log is from a White Unibody Macbook 2010 (C2D 2.4)
(I can install |
Sorry, I forgot to include it. Just copy the binary into psi-plus.app/Contents/Frameworks and you should be good to go. |
Thanks. This app bundle (with libidn) works at home when I have all of the external dependencies already installed (though I needed to rip out and re-install qt5 from homebrew to get it to also install QtWebkit). However, it still looks for QtCore in /usr/local/opt/qt5/lib/QtCore.framework/Versions/5/QtCore even though it exists within psi-plus.app/Contents/Frameworks on my test machine w/o homebrew dependencies. Is there a conflict between installed libraries and bundled ones? |
Its not enough. You should change dependencies inside apk with install_name_tool. Also, apk should include ALL the dependencies, including Qt Frameworks, plugins etc. Look at our script and you will see the work you should do to make standalone package. This is not so easy |
Here is the link from Qt documentation http://doc.qt.io/qt-5/osx-deployment.html |
@wadealer Yes, I know that and I did that:
What I forgot to do is to perform the same manipulations on qca-qt5.framework. |
Ok. it's proven we can compile for mac and it works. our maintenance repo now has scripts for that. |
I'm attempting to compile a Qt5 version of Psi+, using HomeBrew to fill the dependencies. Unfortunately, it looks like webkit is not available (especially under Qt5), so "--enable-webkit" doesn't seem to work.
Anyways, the resulting Psi+.app (or psi-plus.app) won't launch, with the error message
You can't open the application "Psi+" because it may be damaged or incomplete.
Any ideas on what the problem might be?
OSX 10.12.3
XCode 8.2.1
Qt 5.8.x from Home Brew
QCA 2.1.1 from Home Brew
Configured with
./configure --enable-webkit --enable-whiteboarding
.After
make
,/psi-plus.app
andsrc/psi+.app
both show the same error when trying to launch.Also,
make -C mac/ dmg
correctly creates a dmg, but the included app is still faulty.The text was updated successfully, but these errors were encountered: