Fermanagh will meet Antrim for a second time in this year's Football Championship after the teams were drawn together in the round 2A qualifiers.
The Ernemen defeated the Saffrons 1-13 to 0-8 in the Ulster quarter-finals but Antrim should be full of confidence after their remarkable win over Laois.
Antrim were first out of the hat but Fermanagh will have home advantage by dint of their provincial win.
Cavan will host Roscommon in a repeat of last year's qualifier.
Roscommon earned a 0-16 to 0-5 game in that game last July as Cavan produced a dismal display at Breffni Park.
The Rossies were expected to challenge Mayo for the Connacht title this year but they were shocked by Sligo in Saturday's Connacht semi-final.
Cavan were edged out by Monaghan by a point in the Ulster SFC opener and then earned a facile opening qualifier win over London on Saturday.
Rory Dunne will miss Cavan's qualifier after suffering a dislocated ankle in Ruislip.
Confirmation of the times and venues was released following a meeting of the GAA's Central Competitions Control Committee on Monday.
Round 2A All-Ireland Football Qualifiers
Antrim v Fermanagh (Sunday 5 July, Brewster Park, 15:00 BST)
Offaly v Dublin/Kildare (Saturday 4 July, O'Connor Park, 15:00 BST)
Clare v Longford (Saturday 4 July, Cusack Park, Ennis, 17:00 BST)
Cavan v Roscommon (Saturday 4 July, Breffni Park, 17:00 BST)
Round 1 Hurling Qualifiers
Laois v Dublin (Saturday 4 July, O'Moore Park, Portlaoise, 19:00 BST)
Westmeath v Limerick (TBC)
Clare v Offaly (Saturday 4 July, Cusack Park, Ennis, 19:00 BST)
Wexford v Cork (Saturday 4 July, Wexford Park, 19:00 BST)