Skip to content

Commit a0e5fa5

Browse files
committed
Qt: Fix debugger disabled build
1 parent e8ef4be commit a0e5fa5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/platform/qt/scripting/ScriptingController.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,10 @@ void ScriptingController::setController(std::shared_ptr<CoreController> controll
8686
m_controller->thread()->scriptContext = &m_scriptContext;
8787
if (m_controller->hasStarted()) {
8888
attach();
89+
#ifdef ENABLE_DEBUGGERS
8990
} else {
9091
m_controller->attachDebugger(false);
92+
#endif
9193
}
9294
updateVideoScale();
9395
connect(m_controller.get(), &CoreController::stopping, this, &ScriptingController::clearController);

0 commit comments

Comments
 (0)