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)
- Host: GitHub
- URL: https://github.com/jaytwolab/getenvvalue-qt
- Owner: JayTwoLab
- License: mit
- Created: 2021-09-05T13:24:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-08-29T04:36:55.000Z (9 months ago)
- Last Synced: 2025-01-21T17:49:33.594Z (4 months ago)
- Language: C++
- Homepage: https://jaytwolab.github.io/GetEnvValue-Qt/
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.