Mac/Windows Native Library Usage in Qt Quick
-
I have a native objc/c library for mac and c++/.net library for windows. I do not have the source code for these libraries, yet they are critical for our application. I managed to add the mac Framework library to the application but I am not sure how to go about using it. The library utilizes an CAOpenGLLayer and various other OSX constructs. Is it possible to use this library with QT?
-
Hi and welcome to devnet,
I don't know about integrating CAOpenGLLayer within Qt but yes, you can mix Objective-C and C++. It's already done inside Qt itself.
-
@SGaist Thank you for the quick reply. Are there any tutorials you can point me to that demonstrate using a custom framework from code. I will be doing my own research, I have about a week to decide if QT is the direction we are going, but it would be immensely helpful to get a head start on that research.
-
I'm not familiar with OS X Frameworks, but for Windows DLLs see http://doc.qt.io/qt-5/third-party-libraries.html
-
You can find additional information in the qmake platform notes