[PyQt] Literals as template parameters
Shaheed Haque
srhaque at theiet.org
Thu Jun 22 17:59:03 BST 2017
Hi Phil,
SIP 4.19.3.dev1706161918 does not seem to like literals (or at least
literal numbers) as template paramters. The "16" here:
static int parseParenthesizedList(const QByteArray &data,
QVarLengthArray<QByteArray, 16> &result, int start = 0)
[int (const QByteArray &data, QVarLengthArray<QByteArray,
16> &result, int start = 0)];
results in a syntax error. Temporarily changing the "16" to "a16"
suppresses the error. (i've not been able to think of a way to use
this as a workaround though).
Thanks, Shaheed
More information about the PyQt
mailing list