Commit 5f59734
committed
Introduce alias names for types
Add an entry "aliases" to a type entry in the type database, these types
will automatically be changed to the main type in the generated code.
This fixes the problem that in Qt 6.7 QAudio enums are used under the
QtAudio alias. These enum names are now automatically mapped to the
QAudio name with the right alias entries in the type database.
This doesn't make QAudio available as QtAudio in Python, though.1 parent bf1219a commit 5f59734
File tree
3 files changed
+26
-6
lines changed- generator
3 files changed
+26
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
543 | 544 | | |
544 | 545 | | |
545 | 546 | | |
| |||
586 | 587 | | |
587 | 588 | | |
588 | 589 | | |
| 590 | + | |
589 | 591 | | |
590 | 592 | | |
591 | 593 | | |
592 | 594 | | |
593 | 595 | | |
594 | | - | |
595 | | - | |
| 596 | + | |
596 | 597 | | |
597 | 598 | | |
| 599 | + | |
| 600 | + | |
| 601 | + | |
| 602 | + | |
| 603 | + | |
598 | 604 | | |
599 | 605 | | |
600 | 606 | | |
| |||
758 | 764 | | |
759 | 765 | | |
760 | 766 | | |
| 767 | + | |
761 | 768 | | |
762 | 769 | | |
763 | 770 | | |
| |||
1831 | 1838 | | |
1832 | 1839 | | |
1833 | 1840 | | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
1834 | 1849 | | |
1835 | 1850 | | |
1836 | 1851 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
513 | 513 | | |
514 | 514 | | |
515 | 515 | | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
516 | 520 | | |
517 | 521 | | |
518 | 522 | | |
| |||
553 | 557 | | |
554 | 558 | | |
555 | 559 | | |
| 560 | + | |
556 | 561 | | |
557 | 562 | | |
558 | 563 | | |
| |||
1187 | 1192 | | |
1188 | 1193 | | |
1189 | 1194 | | |
1190 | | - | |
| 1195 | + | |
1191 | 1196 | | |
1192 | 1197 | | |
1193 | 1198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | | - | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
195 | | - | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
0 commit comments