Qt: various options in a .pro file based on target architecture in WinRT
Different libraries (and others) should be installed based on the target architecture. Therefore the .pro file includes this code:
contains(QMAKE_TARGET.arch, arm) {
LIBS += -L$$PWD/arm
}
else {
contains(QMAKE_TARGET.arch, x86_64) {
LIBS += -L$$PWD/x64
}
else {
LIBS += -L$$PWD/x86
}
}
Now the problem is that it is contains(QMAKE_TARGET.arch, arm)
never true. Is there any other way to get ARM architecture for WinRT builds?
Hello,
+3
source to share
No one has answered this question yet
See similar questions:
or similar: