An open API service indexing awesome lists of open source software.

https://github.com/jaytwolab/getenvvalue-qt

Get OS environment value (using Qt)
https://github.com/jaytwolab/getenvvalue-qt

Last synced: 4 months ago
JSON representation

Get OS environment value (using Qt)

Awesome Lists containing this project

README

        

# GetEnvValue-Qt

- Get environment value using Qt

- C++ 17 or higher version

## namespace

- ```j2::Qt6```

## GetOSPath()

- example code

```cpp
// main.cpp

#include
#include

#include "GetEnv.h"

int main(int argc, char *argv[])
{
QCoreApplication a(argc, argv);

QStringList pathList = j2::Qt6::GetOSPath();
foreach (QString pathName, pathList)
{
qDebug() << pathName;
}

return 0;
}
```

## License

- GetEnvValue-Qt is under MIT License. https://github.com/j2doll/GetEnvValue-Qt
- This is a part of j2 library.