Views: 6,698,847 Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search 03-28-24 06:18 PM
Guest:

0 users reading melonDS fails to detect Homebrew's QT installation on macOS | 1 bot

Main - General - melonDS fails to detect Homebrew's QT installation on macOS Hide post layouts | New reply


extherian
Posted on 03-14-21 07:33 PM Link | #3437
Attempting to run melonDS with all the recommended dependencies installed gives me this error:

Dyld Error Message:
Library not loaded: /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets
Referenced from: /Applications/melonDS/melonDS.app/Contents/MacOS/melonDS
Reason: image not found

I definitely have QT5 installed, but melonDS is looking in the wrong place for it. How do I correct this error?

mido
Posted on 03-15-21 06:13 PM Link | #3440
same problem here would like a fix for it

Rayyan
Posted on 03-15-21 06:21 PM Link | #3441

Apparently, Homebrew has changed the location of qt 5 from "/usr/local/opt/qt" to "/usr/local/opt/qt@5".

____________________

How to write an emulator
1. throw code to be emulated somewhere
2. make memory system that allows accessing that code
3. emulate CPU
4. have fun implementing all the other hardware
-- Arisotura, Tuesday 5th January 2021, 22:00:17

mido
Posted on 03-19-21 11:35 PM Link | #3475
anyway to fix this?

Rayyan
Posted on 03-20-21 10:57 AM Link | #3477

try this as a temporary workaround until the next release:
install_name_tool -change /usr/local/opt/qt/lib/QtCore.framework/Versions/5/QtCore /usr/local/opt/qt@5/lib/QtCore.framework/Versions/5/QtCore /Applications/melonDS/melonDS.app/Contents/MacOS/melonDS
install_name_tool -change /usr/local/opt/qt/lib/QtGui.framework/Versions/5/QtGui /usr/local/opt/qt@5/lib/QtGui.framework/Versions/5/QtGui /Applications/melonDS/melonDS.app/Contents/MacOS/melonDS
install_name_tool -change /usr/local/opt/qt/lib/QtWidgets.framework/Versions/5/QtWidgets /usr/local/opt/qt@5/lib/QtWidgets.framework/Versions/5/QtWidgets /Applications/melonDS/melonDS.app/Contents/MacOS/melonDS


____________________

How to write an emulator
1. throw code to be emulated somewhere
2. make memory system that allows accessing that code
3. emulate CPU
4. have fun implementing all the other hardware
-- Arisotura, Tuesday 5th January 2021, 22:00:17

mido
Posted on 03-21-21 12:07 AM Link | #3483
well it works now… kinda…… most games have visual glitches

Zerobot
(post deleted) #3489


Main - General - melonDS fails to detect Homebrew's QT installation on macOS Hide post layouts | New reply

Page rendered in 0.027 seconds. (2048KB of memory used)
MySQL - queries: 29, rows: 90/90, time: 0.013 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.