QAxServer: pass our hInstance to QCoreApplication


And replace qAxInstance with it.

This allows us to avoid having to pass a QString this early.
QCoreApplication has the code to get the path again and QtCore will have
other uses for the hInstance.

Pick-to: 6.9
Change-Id: I3cc172288c54c3938566fffdfb62985000ce2e9c
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
commiteef989744d044b84bb84b0fe64ed8bb139238117
parentb1687fff61ad15a9b22413e52f7050835a4fb72b
authorThiago Macieira <thiago.macieira@intel.com>
committerThiago Macieira <thiago.macieira@intel.com>
commit timeFri, 24 Jan 2025 16:43:19 -0800