How to merge quick look preview with Qt4.6 in mac os ?
-
I am working on Qt4.6 , and i want to use Quick Look Preview API with Qt4.6 on Mac Os 10.5.8.
I found a link for http://ciaranwal.sh/2007/12/07/quick-look-apis but it can be used with Cocoa.
How can i use Quick Look Preview with Qt Application.
Regards,
Neha[EDIT: fixed link, Volker]
-
For that it's urgent for you does not imply that it's urgent (or interesting at all) for the rest of the developers here. So please be polite and do not put any pressure on your question. And read http://www.catb.org/~esr/faqs/smart-questions.html for the reasons why.
Regarding your actual problem: You will have to include the Objective-C code into your C++ application (or use the C/C++ kind of bindings to the respective objects and methods).
For including a native widget into a Qt application have a look at the docs of [[Doc:QMacNativeWidget]] and [[Doc:QMacCocoaViewContainer]] as well as the "Mac Main Window Demo":http://developer.qt.nokia.com/doc/qt-4.7/demos-macmainwindow.html.