win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d

流过昼夜 提交于 2019-12-12 04:08:00

问题


While studying the Plug & Paint Example I got stuck at the project file, more specifically at the following:

LIBS           = -Lplugins -lpnp_basictools

if(!debug_and_release|build_pass):CONFIG(debug, debug|release) {
   mac:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)_debug
   win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d
}

What this peace of code does? What's $$member(LIBS, 0)?

Since I'm on Windows, just doing

if(!debug_and_release|build_pass):CONFIG(debug, debug|release) 
   win32:LIBS = $$member(LIBS, 0) $$member(LIBS, 1)d

seems to work also.

来源:https://stackoverflow.com/questions/36238090/win32libs-memberlibs-0-memberlibs-1d

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!