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
[SVN] Append Homebrewed Qt5 path to CMake search prefix #36
Conversation
This ensures it can be found by CMake since it is not in the default /usr/local prefix. Homebrew installs Qt5 in /usr/local/opt/qt5. More info in Homebrew/homebrew-core#8392 (comment)
Please read the wiki: https://github.com/texmacs/texmacs/wiki/Build-with-CMake-on-MacOS Follow it, and after make install, you will get a TeXmacs.app directory. |
Please post your problems here. I need to reproduce the problem. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please describe what is the problem and what the PR solves in detail.
@sadhen I now see that the description of the PR message is not very detailed. My bad. Environment:
Steps to reproduce:mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=./TeXmacs.app/Contents/Resources -DTEXMACS_GUI=Qt .. Output:
DescriptionBasically, CMake expects Qt5 to be installed in the This PR applies the proposed patch. Now my machine manages to compile TeXmacs. |
Thanks for you Pull Request. After this pull request applied, we do not need to |
Hijacking the pull request because issues are disabled for some reason. Please add support of the Guile 2.x and 3.x series, TeXmacs is the only package that prevents the upgrade in the RHEL/Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1828124 Also it's time to drop 1.8 support since it's very old and being removed from many distributions. |
I had some problems while trying to compile TeXmacs in macOS with Qt5. Apparently, it is a recurrent problem in homebrew-installed
qt
that Homebrew installs it in a non-expected path by the CMake config files (Homebrew/homebrew-core#8392).This PR commits the solution proposed in Homebrew/homebrew-core#8392 (comment) and ensures that Qt5 can be found by CMake.
I now manage to build it but still got problems when launching it.