Fail to link Pylon(Basler) SDK with Qt on Mac
<p>I am trying to link Qt with the Pylon camera SDK in a Qt Creator project.</p>

<p>I install the pylon Camera Software Suite app from this <a href="http://www.baslerweb.com/en/support/downloads/software-downloads?type=30&amp;series=0&amp;model=0" rel="nofollow noreferrer">pylon for OS X</a> and the pylon framework is install at <code>/Library/Frameworks/pylon.framework</code>.</p>

<p>I first follow the <code>pylon Programmer's Guide</code> which is installed with the app to link the pylon with Xcode. It works perfectly. </p>

<p>Then I try to link with my Qt Project. I add this in the <code>.pro</code> file:</p>

<pre><code>mac: LIBS += -F/Library/Frameworks/ -framework pylon

# add GenICam because pylon Programmer's Guide do so
INCLUDEPATH += /Library/Frameworks/pylon.framework/Headers/GenICam
DEPENDPATH += /Library/Frameworks
</code></pre>

<p>But this doesn't work. Qt cannot find the header files. </p>

<p>I also try:</p>

<pre><code>QMAKE_LFLAGS += -F/Library/Frameworks/
LIBS += -framework pylon
</code></pre>

<p>as said in the document <a href="http://doc.qt.io/qt-5/qmake-platform-notes.html" rel="nofollow noreferrer">Using Frameworks</a>. But still not working. Anyone help me to fix this? Thanks.</p>

<p><strong>Update:</strong>  </p>

<p>Weird is that Qt can detect auto-complete of the header files but when build it says no such file found.
<a href="https://i.stack.imgur.com/LAgw9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LAgw9.jpg" alt="enter image description here"></a></p>