QMake Relative Path Problem
-
Hi,
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:
/LIBPATH:C:\build-test-Desktop_Qt_5_4_1_MSVC2013_OpenGL_32bit-Debug\Test..\OpenGL\ OpenGL.lib
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.
Any ideas?
-
Hi and welcome to devnet,
Do you mean that you want a path without ".." ?
-
The .. should not be a problem. However to your really have a library named OpenGL.lib in your build directory ?
-
The .. should not be a problem. However to your really have a library named OpenGL.lib in your build directory ?