-
Notifications
You must be signed in to change notification settings - Fork 320
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
No libqt4-dev in Ubuntu20.04, hope for Qt5 version #225
Comments
ElmerGUI does compile with Qt5. Have you tried cmake using "WITH_QT5". |
in file: ./ElmerGUI/cmake/Modules/FindQwt.cmake |
I tried it in Ubuntu18.04 but failed. I'll try in Ubuntu20.04 another time. By the way, the officail readme file is too old to instruct us to compile by ourself. |
When I built it under Ubuntu 20.04, I additionally installed the following packages: |
Finally I sucessfully compiled it in Ubuntu20.04. This time I compiled it in a new installed Ubuntu20.04.
(stiil can't find hdf5, I don't know why
)
and finally as @ivantaran said, modifiy file
But one strange thing is that if I config it using
I don't know how to fix it. If someone have fixed it , please let me know, thank you! |
This works, thanks. |
Yes. It does work! I ran into this while trying to install openEMS in Ubuntu 20.04 LTS. So I replaced "libqt4-dev" with "qt5-default qtscript5-dev libqwt-qt5-dev". Instead of this out-of-date command: I used the following command to install openEMS in Ubuntu 20.04 LTS: Perhaps this will help someone else. |
For me the following worked: in file: ./ElmerGUI/cmake/Modules/FindQwt.cmake on the line with:
add qwt-qt5 and after the line with:
add a new line with: HINTS /usr/lib/qwt-qt5 |
I always modify FindQwt.cmake manually by adding merely "qwt-qt5" to the "FIND LIBRARY" on line 33. That's the only thing needed for me to make CMake run succesfully on Ubuntu 20.04.2 LTS (besides actually installing the packages of course). So that line now looks like this on my system: Could someone changes this in the git repository too, assuming it doesn't break stuff for anyone else? |
For the request in Issue ElmerCSC#225, also adding HINTS for some other platforms.
I have issued a pull request for this change including additional HINTS for some other platforms as I also always needed similar type of modification to find Qwt. |
from the resolved issues ElmerCSC#225
No libqt4-dev in Ubuntu20.04, hope for support Qt5 version
The text was updated successfully, but these errors were encountered: