I've run into a small problem when installing MakeMKV on Solus OS. Having qt5-dev installed puts a /usr/bin/moc in place that is not compatible with makemkv-oss. Configure runs fine, but when compiling you get a bunch of errors complaining about version mismatch and "the qt difference is to big" or something like that.
I don't know if its a solus-specific behaviour, but moc is renamed to moc-qt4 not to conflict with the qt5 version. I'm not very familiar with the configure script, is there a nice way to point out where the moc binary is?
/usr/bin/moc and qt5
Re: /usr/bin/moc and qt5
The configure script gets it fromecceman wrote:I've run into a small problem when installing MakeMKV on Solus OS. Having qt5-dev installed puts a /usr/bin/moc in place that is not compatible with makemkv-oss. Configure runs fine, but when compiling you get a bunch of errors complaining about version mismatch and "the qt difference is to big" or something like that.
I don't know if its a solus-specific behaviour, but moc is renamed to moc-qt4 not to conflict with the qt5 version. I'm not very familiar with the configure script, is there a nice way to point out where the moc binary is?
pkg-config --variable moc_location "QtCore"
or (for Qt5).
pkg-config --variable host_bins "Qt5Core"
If these are pointing at the wrong moc, that's your problem right there -- your Qt installation is broken, although probably fixable by editing the .pc files under /usr/lib64/pkg-config. (If they return nothing at all, you're probably missing -devel headers or something.)