Mercurial > projects > qtd
comparison generator/typesystem_opengl.xml @ 248:7664de4a55e5
Fixed #23.
QtD_QObjectEntity is not created dynamically for shell classes any more.
Class initialization is now performed by static constructors.
When wrapping QObjects returned from functions, their run-time types are now taken into account.
QObjects are allocated on GC heap, a doubly-linked list is used to prevent them from been collected (arguably a better solution than allocating on C heap and adding GC ranges)
Minor changes (including unnecessary).
author | maxter |
---|---|
date | Thu, 20 Aug 2009 14:47:17 +0000 |
parents | 3cb15c92ac28 |
children | 37eed70de029 |
comparison
equal
deleted
inserted
replaced
247:27497bbe62a1 | 248:7664de4a55e5 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <?xml-stylesheet type="text/xsl" href="merge.xsl"?> | 2 <?xml-stylesheet type="text/xsl" href="merge.xsl"?> |
3 | 3 |
4 <typesystem package="qt.opengl" default-superclass="QtDObject"> | 4 <typesystem package="qt.opengl" default-superclass="QtdObject"> |
5 <depend package="qt.core" /> | 5 <depend package="qt.core" /> |
6 <depend package="qt.gui" /> | 6 <depend package="qt.gui" /> |
7 <inject-code> | 7 <inject-code> |
8 qt.Utilities.loadQtLibrary("QtGui"); | 8 qt.Utilities.loadQtLibrary("QtGui"); |
9 qt.Utilities.loadQtLibrary("QtOpenGL"); | 9 qt.Utilities.loadQtLibrary("QtOpenGL"); |