manual tests: Fix build
Fix QOverload<void>::of(), causing ../../../../include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of ‘struct QConstOverload<void>’: Q_DECL_CONSTEXPR auto operator()(R (T::*ptr)(Args...) const) const Q_DECL_NOTHROW -> decltype(ptr) and add a missing .pro-file. Change-Id: I19597adc33f2323a9f7dea9ee5ce94546f0e8f12 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
This commit is contained in:
parent
464d261aa8
commit
3702622dde
@ -284,7 +284,7 @@ int main(int argc, char *argv[])
|
||||
mainWindow.setWindowTitle(QString::fromLatin1("Tablet Test %1").arg(QT_VERSION_STR));
|
||||
EventReportWidget *widget = new EventReportWidget;
|
||||
QObject::connect(proximityEventFilter, &ProximityEventFilter::proximityChanged,
|
||||
widget, QOverload<void>::of(&QWidget::update));
|
||||
widget, QOverload<>::of(&QWidget::update));
|
||||
widget->setMinimumSize(640, 480);
|
||||
QMenu *fileMenu = mainWindow.menuBar()->addMenu("File");
|
||||
fileMenu->addAction("Clear", widget, &EventReportWidget::clearPoints);
|
||||
|
5
tests/manual/widgets/widgets/widgets.pro
Normal file
5
tests/manual/widgets/widgets/widgets.pro
Normal file
@ -0,0 +1,5 @@
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS = bigmenucreator \
|
||||
defaultUpMenuBar \
|
||||
multiscreen-menus \
|
||||
qtoolbutton/menuOnMultiScreens
|
Loading…
Reference in New Issue
Block a user