mapdata += exportscan('src/%s' % component.lower(), pattern, 'Qt%s' % component)
mapdata += '};\n'
-mapdata += 'static const int qclass_lib_count = %d;\n\n' % classcount
+mapdata += 'static const qint16 qclass_lib_count = %d;\n\n' % classcount
mapdata += '#endif\n'
with open(mapoutput, 'wb') as f:
}
static const QLocalePrivate *default_lp = 0;
-static uint default_number_options = 0;
+static quint16 default_number_options = 0;
#ifndef QT_NO_SYSTEMLOCALE
{ "QFormBuilder", "QtUiTools/formbuilder.h"},
{ "QUiLoader", "QtUiTools/quiloader.h"},
};
-static const int qclass_lib_count = 686;
+static const qint16 qclass_lib_count = 686;
#endif
WriteIncludes::WriteIncludes(Uic *uic)
: m_uic(uic), m_output(uic->output()), m_scriptsActivated(false), m_laidOut(false)
{
- for(int i = 0; i != qclass_lib_count; i++) {
+ for(qint16 i = 0; i != qclass_lib_count; i++) {
const QLatin1String klass = QLatin1String(qclass_lib_map[i].klass);
const QLatin1String header = QLatin1String(qclass_lib_map[i].header);
m_classToHeader.insert(klass, header);