Rangers will play Royale Union Saint-Gilloise in the third qualification round.
The first leg of the Scottish Cup final will be held in Belgium on 2 or 3 August, with the return in August.
The play-off round will take place over two days in August.
They lost on penalties in the lastEuropa League final.
They will go into the group stage for a fifth season in a row if they are unsuccessful in the third or play-off.
After the first round of 34 matches, Union SG were the top ranked team in the country, but they finished second behind Club Bruges in the play-offs.
The last of the club's 11 league titles came in 1935.