mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-10 10:08:01 +08:00
9 lines
249 B
C++
9 lines
249 B
C++
|
#include <qsysinfo.h>
|
||
|
#include <qstring.h>
|
||
|
#include <cstdio>
|
||
|
int main(int argc, char** argv) {
|
||
|
auto buildABI = QSysInfo::buildAbi().toStdString();
|
||
|
fprintf(stdout, "%s\n", buildABI.c_str());
|
||
|
printf("%d\n", QSysInfo::windowsVersion());
|
||
|
return 0;
|
||
|
}
|