Commit ba73ca09 authored by Nikolai Kosjar's avatar Nikolai Kosjar
Browse files

Designer: Fix compilation with Qt4



Change-Id: Ib6e3ab705504997e24c95c20bea21b007b62deb6
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@digia.com>
parent 6a561d94
......@@ -29,6 +29,9 @@
#include "formeditorplugin.h"
#if QT_VERSION < 0x050000
#include <QtTest>
#else
#include "formeditorw.h"
#include <coreplugin/testdatadir.h>
......@@ -143,11 +146,16 @@ private:
};
} // anonymous namespace
#endif
/// Check: Executes "Go To Slot..." on a QPushButton in a *.ui file and checks if the respective
/// header and source files are updated.
void FormEditorPlugin::test_gotoslot_withoutProject()
void Designer::Internal::FormEditorPlugin::test_gotoslot_withoutProject()
{
#if QT_VERSION >= 0x050000
GoToSlotTest test;
test.run();
#else
QSKIP("Available only with >= Qt5", SkipSingle);
#endif
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment