Home Page
Hi. Good day.

I am trying to install QMC2 on Ubuntu LTS 20.04. Many dependencies are missing and does not install.

sudo apt-get install subversion g++ libqt4-dev libqtwebkit-dev libphonon-dev libsdl2-dev libxmu-dev libqt4-sql-sqlite rsync

libqt4-dev  libqtwebkit-dev libphonon-dev libqt4-sql-sqlite

What can I do in this case?
Are you following these instructions?


I'd guess you need a different QT distribution, or to rebuild it, yourself...
Yes, the first step is to install the dependencies.

How are they rebuilt?
Qt4 was removed from Ubuntu:
Not sure how easy it is to build locally.
You can't have it on the next LTS, that's serious.
Flatpak is an option to keep the project alive.
It looks like it needs to be ported to Qt5 (probably trivial) and QtWebEngine (not quite so trivial).
Was there a resolution to this issue? I installed Ubuntu 20.04LTS to run on an arcade cabinet. I tried several other flavors of Linux but most did not like my hardware, or I did not like them. I settled on Ubuntu 20.04 and installed MAME from apt and I think it is 0.220. I want to install QMC2 because everyone says it is one of the best out there but it seems it is abandoned. Are there any instructions on how to set it up and where to get an updated version of it?

As far as I know, the author of QMC has been dealing with health issues and hasn't had time to work on QMC for a few years. I wouldn't expect this to be fixed until he shows up again regularly, assuming his life allows such.
Check this: http://wiki.batcom-it.net/index.php/The_%27ultimate%27_guide_to_QMC2#Linux_.2F_UNIX

You'll need to rebuild, if you want to use software list roms. Section 13.2.

Also, note this issue/work-around:

Artwork must be turned 'on': https://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=115872#Post115872or Mame will scream and die.
I have gotten this PPA that resolves qt4 dependencies, but "libphonon-dev" is still missing.
Qt4 for Ubuntu 20.04

Anyway I get an error trying to compile:

sudo make install DISTCFG=1
[sudo] contraseƱa para lex: 
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
qmake: could not exec '/usr/lib/qt5/bin/qmake': No such file or directory
/usr/bin/lrelease data/lng/qmc2_de.ts
lrelease: could not exec '/usr/lib/qt5/bin/lrelease': No such file or directory
make: *** [Makefile:1461: data/lng/qmc2_de.qm] Error 1

Looking for Qt5?
© Forums