Home Page

QMC2 and QT5.11+

Posted By: oddi

QMC2 and QT5.11+ - 02/03/20 05:19 PM

Compile qmc2 under win10 x64 with latest mamedev tools + all updates .
For qmc2 take info for packages from wiki:
pacman -S mingw-w64-x86_64-SDL2 mingw-w64-x86_64-qt5 mingw-w64-x86_64-qtwebkit subversion

and start compile....

first problem
..report for missing qmake-qt5

found and fixed this :
line #3 QMAKE      = qmake-qt5 
rename to QMAKE      = qmake

after Successful compile create standalone executables:

second problem
take libs from devtoools but qmc2-mame report for 3 missing libs :

from last update mingw-w64-x86_64-icu-65.1-1-any.pkg.tar.xz this libs missing , found in previous build : mingw-w64-x86_64-icu-64.2-1-any.pkg.tar.xz

and final: qmc2-mame start first time , configuration and etc. ect ...,second start crashed

upload build here : QMC2_test.zip
i'm not sure for correct libs and folder structure

Rene when u have free time please look my nonsense.
Thank you smile

P.S. forgot: compile with parameter WIP=1
P.S.2: without WIP=1 not crashed:)

Posted By: qmc2

Re: QMC2 and QT5.11+ - 02/04/20 07:00 AM

Very good, but Windows 10 support is not "GA" yet... I first need to find and fix stuff on Linux wink. Anyway, glad you found it yourself.
Posted By: stablerom

Re: QMC2 and QT5.11+ - 03/25/20 11:55 AM

Using source files at https://svn.code.sf.net/p/qmc2/code/trunk.

In order to build in Ubuntu 17.10 the config file needs to be as follows (Ubuntu_17.10.cfg or Debian.cfg),

QMAKE    = /usr/bin/qmake
LUPDATE  = /usr/bin/lupdate
LRELEASE = /usr/bin/lrelease

This will allow QMC2 Arcade to build and install.

QMC2 (non arcade version) does not build with the latest version of QT5.

Good to see you back, Rene.
Posted By: Shoegazer

Re: QMC2 and QT5.11+ - 05/26/20 09:30 PM

I too encountered issues compiling QMC2 r8335. It compiles against Qt 4.8.7 as it had done before, but it then crashes at any attempts to launch mame systems and doesn't display some of the submenu contents. Compiling against Qt 5.9.5 and 5.15 are unsuccessful, yielding:

Project ERROR: Unknown module(s) in QT: xmlpatterns webkit webkitwidgets
Makefile:1063: recipe for target 'Makefile.qmake' failed

I believe those modules do exist though, particularly in 5.15 as it's a very recent Qt build.

Using Linux Mint 19.3 (Ubuntu 18.04 base), with gcc 9.3.0 and kernel 5.3.

The last time it successfully compiled was against r8292 (from late 2018), though I hadn't tried again untli now.

Rene (or anyone), any ideas what could be wrong here?
Posted By: oddi

Re: QMC2 and QT5.11+ - 05/30/20 05:23 PM

Me too not have luck with the last SVN
make.exe[1]: Entering directory 'C:/msys64/src/qmc2'
make.exe -f Makefile.qmake.Release
make.exe[2]: Entering directory 'C:/msys64/src/qmc2'
/C/msys64/mingw64/bin/uic.exe qmc2main.ui -o ui_qmc2main.h
process_begin: CreateProcess(NULL, sh.yyy -c "/C/msys64/mingw64/bin/uic.exe qmc2main.ui -o ui_qmc2main.h", ...) failed.
make (e=2): The system cannot find the file specified.
Makefile.qmake.Release:13717: recipe for target 'ui_qmc2main.h' failed
make.exe[2]: *** [ui_qmc2main.h] Error 2
make.exe[2]: Leaving directory 'C:/msys64/src/qmc2'
Makefile.qmake:45: recipe for target 'release' failed
make.exe[1]: *** [release] Error 2
make.exe[1]: Leaving directory 'C:/msys64/src/qmc2'
makefile:1042: recipe for target 'qmc2-bin' failed
make.exe: *** [qmc2-bin] Error 2
make.exe: Leaving directory 'C:/msys64/src/qmc2'

Hope somebody fix this
Posted By: Shoegazer

Re: QMC2 and QT5.11+ - 07/09/20 10:54 PM

Update: Having recently updated to Linux Mint 20, which is based on Ubuntu 20.04 and uses Qt 5.12.8 by default, I was able to install the necessary qt5 packages that resolve the issue I encountered above, and now qmc2 compiles. Specifically, those packages are libqt5webkit5-dev and libqt5xmlpatterns5-dev in case it helps anyone else.
© 2020 Forums