No, I meant the actual commands executed by Nmake when it processes the Makefile generated by qmake. Yes, the commands are ultimately in the Makefile, but looking at the actual command that failed removes the obscuring factor of the variable expansions etc. and may lead to the correct bit of the Makefile/PRO file faster. These should show in the Qt Creator Compiler Output tab.
LIBS += -L$$PWD/../../../../../../.."/Program Files/Basler/pylon 4/pylon/lib/Win32/ -lPylonBase_MD_VC100"
LIBS += -L$$PWD/../../../../../../.."/Program Files/Basler/pylon 4/pylon/lib/Win32/ -lPylonBase_MD_VC100"
To copy to clipboard, switch view to plain text mode
by the time qmake and nmake are done and a Windows command shell gets the command you probably end up with:
-L$$PWD/../../../../../../../Program
Files/Basler/pylon
4/pylon/lib/Win32/
-lPylonBase_MD_VC100
-L$$PWD/../../../../../../../Program
Files/Basler/pylon
4/pylon/lib/Win32/
-lPylonBase_MD_VC100
To copy to clipboard, switch view to plain text mode
as 4 (not 2) arguments converted for the Microsoft linker.
I would be inclined to try:
LIBS += "-L$$PWD/../../../../../../../Program Files/Basler/pylon 4/pylon/lib/Win32/" -lPylonBase_MD_VC100
// or
LIBS += -L"$$PWD/../../../../../../../Program Files/Basler/pylon 4/pylon/lib/Win32/" -lPylonBase_MD_VC100
LIBS += "-L$$PWD/../../../../../../../Program Files/Basler/pylon 4/pylon/lib/Win32/" -lPylonBase_MD_VC100
// or
LIBS += -L"$$PWD/../../../../../../../Program Files/Basler/pylon 4/pylon/lib/Win32/" -lPylonBase_MD_VC100
To copy to clipboard, switch view to plain text mode
or an absolute path set only once (something like)
PYLON_HOME="C:/Program Files/Basler/pylon 4/pylon"
win32:CONFIG(release, debug|release): LIBS += -L"$$PYLON_HOME/lib/Win32" -lPylonBase_MD_VC100
else:win32:CONFIG(debug, debug|release): LIBS += -L"$$PYLON_HOME/lib/Win32" -lPylonBase_MD_VC100d
PYLON_HOME="C:/Program Files/Basler/pylon 4/pylon"
win32:CONFIG(release, debug|release): LIBS += -L"$$PYLON_HOME/lib/Win32" -lPylonBase_MD_VC100
else:win32:CONFIG(debug, debug|release): LIBS += -L"$$PYLON_HOME/lib/Win32" -lPylonBase_MD_VC100d
To copy to clipboard, switch view to plain text mode
Bookmarks