QMake Relative Path Problem
Not sure if this has been posted but search didn't help much.
I've got this path in my .pro file:
win32:CONFIG(release, debug|release): LIBS += -L$$OUT_PWD/../OpenGL/ -lOpenGL
and it turns into this in the Makefile.Debug:
the ellipses don't translate into a path but are placed in literally.
The other method words where i specify the ".lib" file directly in the LIBS path, but I wanted to get this to work.
Hi and welcome to devnet,
Do you mean that you want a path without ".." ?
Thanks for your reply. I would like the '..' to be replaced with the parent directory. It appears to be writing the '..' literally and confusing the Makefile as it complains to me it can't find the lib file.
The .. should not be a problem. However to your really have a library named OpenGL.lib in your build directory ?
Hmm created a fresh new SubDirs project with a linked interal library and it works :/