I am trying to link Qt with the Pylon camera SDK in a Qt Creator project.
I install the pylon Camera Software Suite app from this link(http://www.baslerweb.com/en/support/...ries=0&model=0) and the pylon framework is installed at /Library/Frameworks/pylon.framework.
I first follow the pylon Programmer's Guide which is installed with the app to link the pylon with Xcode. It works perfectly.
Then I try to link with my Qt Project. I add this in the .pro file:
mac: LIBS += -F/Library/Frameworks/ -framework pylon
INCLUDEPATH += /Library/Frameworks
DEPENDPATH += /Library/Frameworks
But this doesn't work. Qt cannot find the header files of Pylon.
I also try:
QMAKE_LFLAGS += -F/Library/Frameworks/
LIBS += -framework pylon
as said in the document http://doc.qt.io/qt-5/qmake-platform-notes.html. But still not working. Weird is that Qt can auto-complete all the header files' name when I type in, but just cannot find them when compiling.
Anyone help me to fix this? Thanks.
Bookmarks