How to include a macOS .framework file in Qt creator "qmake"
-
Hi, for pylon it should be as @SGaist says:
INCLUDEPATH += "/Library/Frameworks/pylon.framework" LIBS += -F"/Library/Frameworks/" -framework pylon
@hskoglund
it still doesn't seem to work :(
-
@hskoglund
it still doesn't seem to work :(
-
Ok, try adding these as well:
INCLUDEPATH += "/Library/Frameworks/pylon.framework/Headers/" INCLUDEPATH += "/Library/Frameworks/"
@hskoglund
sadly it is still the same
would a sample of the build settings for a project with the framework in Xcode be of any help?
I am quite since I am not too experienced with Building Qt apps for MacOS -
I suppose you already checked some old posts like this one: https://imaginghub.com/forum/posts/702-using-basler-pylon-sdk-on-mac-with-qt ?
(he manages to build it successfully with some warnings) -
I suppose you already checked some old posts like this one: https://imaginghub.com/forum/posts/702-using-basler-pylon-sdk-on-mac-with-qt ?
(he manages to build it successfully with some warnings)@hskoglund
I didn't come across this page but trying their pro file settings it's still throwing errors not recognizing any members in the headers -
@hskoglund
I didn't come across this page but trying their pro file settings it's still throwing errors not recognizing any members in the headers -
@UbiMiles
I also found this and the op of the thread seems to have gotten it working
https://forum.qt.io/topic/105593/undefined-symbols-for-architecture-x86_64-pylon-cpylonimagewindow-close