Importing more than a few tens of thousands of addresses into a regular Bitcoin Core Qt wallet is going to make that wallet slow to a crawl.
I tried.
The desktop wallet is not designed to be used with that many addresses, you'll need to find another solution.