diff options
author | Morten Sorvig <morten.sorvig@nokia.com> | 2011-05-20 10:47:59 +0200 |
---|---|---|
committer | Morten Sorvig <morten.sorvig@nokia.com> | 2011-05-20 10:58:37 +0200 |
commit | e285501267bc28c226e8f3a455f28b5090e934aa (patch) | |
tree | 3342b1a1b0eb8111f67cb7ec773683ca0225fb68 /src/plugins/platforms/cocoa/cocoa.pro | |
parent | ea7277690d9f4a7c4e10f3d3b7a2bef46d6878c2 (diff) |
Add QCocoaNativeInterface.
Supports getting the NSOpenGLContext for now.
Diffstat (limited to 'src/plugins/platforms/cocoa/cocoa.pro')
-rw-r--r-- | src/plugins/platforms/cocoa/cocoa.pro | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/plugins/platforms/cocoa/cocoa.pro b/src/plugins/platforms/cocoa/cocoa.pro index 87846a9092..5d751631a9 100644 --- a/src/plugins/platforms/cocoa/cocoa.pro +++ b/src/plugins/platforms/cocoa/cocoa.pro @@ -10,7 +10,9 @@ OBJECTIVE_SOURCES = main.mm \ qcocoaeventloopintegration.mm \ qcocoaautoreleasepool.mm \ qnswindowdelegate.mm \ - qcocoaglcontext.mm + qcocoaglcontext.mm \ + qcocoanativeinterface.mm + OBJECTIVE_HEADERS = qcocoaintegration.h \ qcocoawindowsurface.h \ @@ -19,7 +21,10 @@ OBJECTIVE_HEADERS = qcocoaintegration.h \ qcocoaeventloopintegration.h \ qcocoaautoreleasepool.h \ qnswindowdelegate.h \ - qcocoaglcontext.h + qcocoaglcontext.h \ + qcocoanativeinterface.h + +DEFINES += QT_BUILD_COCOA_LIB #add libz for freetype. LIBS += -lz @@ -30,4 +35,3 @@ QT += core-private gui-private include(../fontdatabases/basicunix/basicunix.pri) target.path += $$[QT_INSTALL_PLUGINS]/platforms INSTALLS += target - |