Unsolved static Extra characters after test expression.
-
if(exists($${d}/libGLU.a) && static) {
LIBS -= -lGLU;
LIBS += $${d}/libGLU.a
}Extra characters after test expression
-
Hi, welcome to the Qt forum! What's your question?
-
@Wieland
for(d,gludirs) {
if(exists(${d}/libGLU.a) && static) {
LIBS -= -lGLU;
LIBS += ${d}/libGLU.a
}
}Extra characters after test expression error i am gettig in the 1st line
-
Hi,
The double & is the cause. A .pro file is not c++ ;)
Did you add static to
CONFIG
?If so the condition should rather be:
if(exists(${d}/libGLU.a)):CONFIG(static) {
Hope it helps
-
This will help in windows or linux ?
-
The technique is valid for all operating systems supported.