From QB64 Wiki
Prior to version 1.000, a program generated by QB64 required all DLLs in the main folder to be bundled for distribution.
Version 1.000 and up generate stand-alone executables, but your program may require external data.
WinRar can be used to create a compressed SFX installation executable file that holds all of the program and required DLL library files/data files.
How to put a QB64 program and all its needed files into one EXE using WinRar (external tutorial).