Previous Thread
Next Thread
Print Thread
QMC2 and QT5.11+ #116817 02/03/20 05:19 PM
Joined: Nov 2011
Posts: 170
O
oddi Offline OP
Senior Member
OP Offline
Senior Member
O
Joined: Nov 2011
Posts: 170
Compile qmc2 under win10 x64 with latest mamedev tools + all updates .
For qmc2 take info for packages from wiki:
Code
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 :
Code
C:\msys64\src\qmc2\arch\default.cfg
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 :
Code
libicudt64.dll
libicuin64.dll
libicuuc64.dll


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:)


Last edited by oddi; 02/03/20 05:50 PM.
Re: QMC2 and QT5.11+ [Re: oddi] #116818 02/04/20 07:00 AM
Joined: May 2008
Posts: 4,899
Q
qmc2 Offline
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,899
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.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]

We're searching for QMC2 translators and support for existing translations. Interested? See here!
Re: QMC2 and QT5.11+ [Re: oddi] #117079 03/25/20 11:55 AM
Joined: Mar 2020
Posts: 1
S
stablerom Offline
Member
Offline
Member
S
Joined: Mar 2020
Posts: 1
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),

Code
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.

Re: QMC2 and QT5.11+ [Re: oddi] #117378 05/26/20 09:30 PM
Joined: Mar 2010
Posts: 141
S
Shoegazer Offline
Senior Member
Offline
Senior Member
S
Joined: Mar 2010
Posts: 141
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:

Code
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?

Re: QMC2 and QT5.11+ [Re: oddi] #117389 05/30/20 05:23 PM
Joined: Nov 2011
Posts: 170
O
oddi Offline OP
Senior Member
OP Offline
Senior Member
O
Joined: Nov 2011
Posts: 170
Me too not have luck with the last SVN
Code
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

Re: QMC2 and QT5.11+ [Re: oddi] #117523 07/09/20 10:54 PM
Joined: Mar 2010
Posts: 141
S
Shoegazer Offline
Senior Member
Offline
Senior Member
S
Joined: Mar 2010
Posts: 141
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.


Moderated by  qmc2 

Who's Online Now
2 registered members (Pernod, 1 invisible), 59 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,789
Posts115,690
Members4,908
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3