This document describes how to generate a fully offline world vector basemap for QGIS.
The Protomaps project offers a convenient way to generate a vector basemap from OpenStreetMap data using the Protomaps CLI.
A full planet file is roughly 120 gigabytes, including zoom levels from 0 to 15.