QVarLengthArray: don't allow syncqt to export base classes

Check, in tst_qvarlengtharray, that the forwarding header still works.

Pick-to: 6.3
Change-Id: Ia03cf48457f538287880bb676aea3fa44aeb255f
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Marc Mutz 2021-12-13 14:58:43 +01:00
parent c4016f9564
commit daaa3088ec
2 changed files with 6 additions and 1 deletions

View File

@ -40,6 +40,11 @@
#ifndef QVARLENGTHARRAY_H
#define QVARLENGTHARRAY_H
#if 0
#pragma qt_class(QVarLengthArray)
#pragma qt_sync_stop_processing
#endif
#include <QtCore/qcontainerfwd.h>
#include <QtCore/qglobal.h>
#include <QtCore/qalgorithms.h>

View File

@ -27,7 +27,7 @@
****************************************************************************/
#include <QtTest/QTest>
#include <qvarlengtharray.h>
#include <QVarLengthArray>
#include <qvariant.h>
#include <qscopeguard.h>
#include <qscopedvaluerollback.h>