Using master (98958c81f5065a5de13699d46995d278ecb6709e) with Qt `5.12.3` (also tested with depends) with multiple wallets available. None are shown in the `Open Wallet ->` menu in the gui. The wallets can be loaded from the console, bitcoin-cli etc.
openOptionsDialogWithTab(OptionsDialog::TAB_NETWORK);
    });
    modalOverlay = new ModalOverlay(this->centralWidget());
#ifdef ENABLE_WALLET
    if(enableWallet) {
        connect(walletFrame, &WalletFrame::requestedSyncWarningInfo, this, &BitcoinGUI::showModalOverlay);
        connect(labelBlocksIcon, &GUIUtil::ClickableLabel::clicked, this, &BitcoinGUI::showModalOverlay);
        connect(progressBar, &GUIUtil::ClickableProgressBar::clicked, this, &BitcoinGUI::showModalOverlay);
    }
#endif
#ifdef Q_OS_MAC
    m_app_nap_inhibitor = new CAppNapInhibitor;
#endif
}
BitcoinGUI::~BitcoinGUI()
{
    
    unsubscribeFromCoreSignals();
    QSettings settings;
    settings.setValue("MainWindowGeometry", saveGeometry());
    if(trayIcon) 
        trayIcon->hide();
#ifdef Q_OS_MAC
    delete m_app_nap_inhibitor;
    delete appMenuBar;
    MacDockIconHandler::cleanup();
#endif
    delete rpcConsole;
}
void BitcoinGUI::createActions()