Skip to content

Commit

Permalink
Add QList to QStringList mapping
Browse files Browse the repository at this point in the history
QStringList inherits QList and hence must include its header.
This mapping prevents <QTypeInfo> suggestion on QStringList traversal
which was due to QList iterator usage bypassing public header.
  • Loading branch information
bolshakov-a committed Feb 4, 2024
1 parent 38f66ce commit 5049b27
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions qt5_11.imp
Original file line number Diff line number Diff line change
Expand Up @@ -3853,4 +3853,5 @@
{ include: [ "@[\"<](QtQuick/)?qtquickversion\\.h[\">]", "private", "<QtQuick>", "public" ] },
{ include: [ "<QString>", "public", "<QObject>", "public" ] },
{ include: [ "<QFlags>", "public", "<Qt>", "public" ] },
{ include: [ "@[\"<](QtCore/)?qlist\\.h[\">]", "private", "<QStringList>", "public" ] },
]

0 comments on commit 5049b27

Please sign in to comment.