UPD: Qt4 pacthes for Mac OS X

This commit is contained in:
Alexander Koblov 2015-01-10 18:22:43 +00:00
commit f645103bfe
2 changed files with 18 additions and 7 deletions

View file

@ -1,7 +1,20 @@
Index: qt45.pas
Index: include/sysenvapis_mac.inc
===================================================================
--- qt45.pas (revision 46742)
+++ qt45.pas (working copy)
--- include/sysenvapis_mac.inc (revision 46742)
+++ include/sysenvapis_mac.inc (working copy)
@@ -11,7 +11,7 @@
url := CFURLCreateWithBytes(nil, @AURL[1], Length(AURL), kCFStringEncodingUTF8, nil);
if not Assigned(url) then
Exit(False);
- Result := LSOpenCFURLRef(url, nil) = 0;
+ // Result := LSOpenCFURLRef(url, nil) = 0;
CFRelease(url);
end;
Index: interfaces/qt/qt45.pas
===================================================================
--- interfaces/qt/qt45.pas (revision 47328)
+++ interfaces/qt/qt45.pas (working copy)
@@ -12411,7 +12411,7 @@
procedure QGraphicsView_invalidateScene(handle: QGraphicsViewH; rect: QRectFH = nil; layers: QGraphicsSceneSceneLayers = QGraphicsSceneAllLayers); cdecl; external Qt4PasLib name 'QGraphicsView_invalidateScene';
procedure QGraphicsView_updateSceneRect(handle: QGraphicsViewH; rect: QRectFH); cdecl; external Qt4PasLib name 'QGraphicsView_updateSceneRect';

View file

@ -33,11 +33,10 @@ Index: Qt4Pas.pro
SOURCES += qt4pas.cpp \
qobject_hook_c.cpp \
@@ -334,33 +319,7 @@
qstyleoption_c.cpp \
@@ -335,32 +320,6 @@
qstylefactory_c.cpp \
qgraphicsscene_c.cpp \
- qgraphicsview_c.cpp \
qgraphicsview_c.cpp \
- qsslcipher_c.cpp \
- qsslkey_c.cpp \
- qsslerror_c.cpp \
@ -64,7 +63,6 @@ Index: Qt4Pas.pro
- qwebsettings_c.cpp \
- qwebview_c.cpp \
- qlclwebview_c.cpp \
+ qgraphicsview_c.cpp
qcoreapplication_hook_c.cpp \
qtimer_hook_c.cpp \
qabstractitemmodel_hook_c.cpp \