@jonasschnelli wrote in #14979:
> #14573 broke < Qt5.6 compatibility due to calling the lambda version of `addAction` that was added in Qt5.6.

We currently [support](https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md) QT >=5.2, but hardly anyone tests with that. If we make one of the Travis machines use it, we should have a better change of catching this.

See also discussion about minimum QT version in #13478 
{
    LockAnnotation lock(::cs_main); 
    
    
    
    
    
    bool ret = ::AcceptToMemoryPool(mempool, state, tx, nullptr ,
                                nullptr , false , nAbsurdFee);
    fInMempool |= ret;
    return ret;
}
void CWallet::LearnRelatedScripts(const CPubKey& key, OutputType type)
{
    if (key.IsCompressed() && (type == OutputType::P2SH_SEGWIT || type == OutputType::BECH32)) {
        CTxDestination witdest = WitnessV0KeyHash(key.GetID());
        CScript witprog = GetScriptForDestination(witdest);
        
        assert(IsSolvable(*this, witprog));
        AddCScript(witprog);
    }
}
void CWallet::LearnAllRelatedScripts(const CPubKey& key)
{
    
    LearnRelatedScripts(key, OutputType::P2SH_SEGWIT);
}
std::vector<OutputGroup> CWallet::GroupOutputs(const std::vector<COutput>& outputs, bool single_coin) const {