MCPcopy Create free account
hub / github.com/QNapi/qnapi / init

Method init

libqnapi/src/libqnapi.cpp:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24QString LibQNapi::appExecutableDir = "";
25
26void LibQNapi::init(const QString& appExecutablePath) {
27 LibQNapi::appExecutableFilePath =
28 QFileInfo(appExecutablePath).absoluteFilePath();
29 LibQNapi::appExecutableDir =
30 QFileInfo(appExecutableFilePath).absoluteDir().path();
31}
32
33QString LibQNapi::version() { return QString(QNAPI_VERSION); }
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected