Open MSX debugger source build on ubuntu 20.04

Por Daemos

Paragon (1964)

Imagen del Daemos

15-11-2021, 10:54

Just a info block for those daring to build the latest openmsx debugger master from source on Ubuntu 20.04 or variants (kubuntu in my case). It seems somewhere along the line Qt5 changed some rules and openmsx debugger will not build using the default development packages as supplied by the default repositories. After some fiddling around in endless circles I got the fix for a working build without having to do all kinds of modifications to the system (and bother the makers):

Changed all Qt::SkipEmptyParts to QString::SplitBehavior::SkipEmptyParts in DebuggerForm.cpp (2 changes total)
Changed all Qt::KeepEmptyParts to QString::SplitBehavior::KeepEmptyParts in Symboltable.cpp (1 change total)

I am not sure about this but the changes are required because these symbols are deemed outdated in Qt5.

Login sesión o register para postear comentarios

Por Manuel

Ascended (18792)

Imagen del Manuel

16-11-2021, 00:25

Thanks, I fixed these in the source code. Feel free to send us a pull request next time you fix something Smile

Also: I noticed there are now (more?) obsolescence warnings. I guess we'll have to fix these some time soonish as well.