-
Notifications
You must be signed in to change notification settings - Fork 30
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
Updating to Qt5 #163
Comments
Ubuntu 20.04 has removed support for Qt4, too. So, the GUI no longer works. An upgrade to Qt5 would be highly appreciated! |
Hi, I've done a quick migration to Qt5. Would you mind testing it? |
Hi @rfvizarra
Maybe linuxtrack needs other changes in order to work with newer OpenCV libraries. If you manage to make a build of the GUI, could you provide it? |
Hi @zumbrunnen linuxtrack uses opencv version 2... If that package is not available in Ubuntu 20.20 (I use Archlinux) try the following commands sed -i 's/opencv >= 2.0/opencv4/g' configure and run configure and make again It that doesn't work we can talk about providing binaries (contact me by email rfvizarra (at) gmail.com) |
Hello @rfvizarra I've sent you an e-mail on May, 18th but unfortunately I haven't got an answer yet. |
Hello @zumbrunnen thanks for testing the changes I made. Given that they work fine for you I have created a pull request with them. |
Manjaro has the opencv4 package. The headers are In /usr/include/opencv4/opencv2. I just moved the opencv2 folder down to /usr/include and the errors disappeared. Thanks for this patch @rfvizarra. |
Glad it is useful for someone :) |
Has anyone heard from uglyDwarf, or is the repo basically unmaintained now? |
@rfvizarra: Any chance that you create install instructions for your fork? Seems like your currently maintaining the fork more than the original project is maintained. It would be great to have an updated AUR package as well ;-) |
Hi, I´ll what I can do, I can´t promise anything as my free time is very limited. In summary the instructions are the same, except that you need to have installed the required QT5 and opencv2 packages. I'm an Archlinux user myself, and I would benefit from that package as well, but I've never built an aur package and It would require time to learn. |
opencv2 from AUR failed to build. Is it also possible to use the latest (4.5) version? |
Hi @CyberGuerro
I don't have access to a Gentoo installation for testing. Can you try this
change in your's?
Edit configure.ac
replace
AC_PATH_PROGS(QMAKE_PATH, [qmake qmake-qt5])
with
AC_PATH_PROGS(QMAKE_PATH, [qmake qmake-qt5 qmake5])
and then run autconf to generate a new configure script that should look
for qmake5
Hope that helps.
…On Sun, Oct 23, 2022 at 12:50 AM CyberGuerro ***@***.***> wrote:
Hi @rfvizarra <https://github.com/rfvizarra> ,
in Gentoo distribution QT5 has *qmake* file called *qmake5* (and so on
for next major releases), you could check this file too besides *qmake*
and *qmake-qt5*?
thank you
—
Reply to this email directly, view it on GitHub
<#163 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABELFHS77TLET5SDHIJ734TWERVU5ANCNFSM4ME3XETQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
that is correct, I've just created a patch in my distribution package (on my local repository) and it works perfectly :-) so if you want to make your change I'll remove my patch from my package :-) |
I have updated the pull request including qmake5. I haven't the change |
Any chance you are planning on upgrading to a newer version of Qt? I cant seem to get the correct libraries installed on Debian sid.
The text was updated successfully, but these errors were encountered: