Skip to content

Commit e25ca46

Browse files
cfg: add three missing macros to qt.cfg (danmar#7582)
A small change adding three macros to qt.cfg Three macros ussed for QML integration. Q_IMPORT_QML_PLUGIN imports a qml plugin into the current excecutable. This is usually only found in one cpp file. Q_OBJECT_BINDABLE_PROPERTY registers a property inside a Q_OBJECT for the QProperty binding system.
1 parent fcf178c commit e25ca46

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ Carlos Gomes Martinho
7979
Carl-Oskar Larsson
8080
Cary Converse
8181
Cary R
82+
Caspar Kielwein
8283
Changkyoon Kim
8384
Chris Lalancette
8485
Christian Ehrlicher

cfg/qt.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5451,6 +5451,11 @@
54515451
<!-- https://doc.qt.io/qt-6/qqml-h-qtqml-proxy.html -->
54525452
<define name="QML_DECLARE_TYPE" value=""/>
54535453
<define name="QML_DECLARE_TYPEINFO(Type, Flags)" value=""/>
5454+
<!-- https://doc.qt.io/qt-6/qobjectbindableproperty.html -->
5455+
<define name="Q_OBJECT_BINDABLE_PROPERTY(containingClass, type, name, signal)" value=""/>
5456+
<define name="Q_OBJECT_BINDABLE_PROPERTY_WITH_ARGS(containingClass, type, name, initialvalue, signal)" value=""/>
5457+
<!-- https://doc.qt.io/qt-6/qqmlengineextensionplugin.html -->
5458+
<define name="Q_IMPORT_QML_PLUGIN(PluginName)" value=""/>
54545459
<!-- https://doc.qt.io/qt-5/qstring.html#QStringLiteral -->
54555460
<define name="QStringLiteral(str)" value="QString::fromUtf8(str, sizeof(str) - 1)"/>
54565461
<define name="QByteArrayLiteral(str)" value="QByteArray(str)"/>

0 commit comments

Comments
 (0)