diff options
| author | Alexis Jeandet <alexis.jeandet@member.fsf.org> | 2017-10-09 19:33:15 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-10-12 20:53:08 +0300 |
| commit | 94cfb42222c0d5e17f480a3aa2044ed7657cf082 (patch) | |
| tree | 18df271c5823935b681f29fc71e673e8d152b8b4 /test cases/frameworks/4 qt/plugin/plugin.cpp | |
| parent | 79b850dfcb42c39874b2592fb9d93553d42ee5c8 (diff) | |
| download | meson-94cfb42222c0d5e17f480a3aa2044ed7657cf082.tar.gz | |
Fixes Qt4 plugin build and mixed Qt4/Qt5 tests builds.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
Diffstat (limited to 'test cases/frameworks/4 qt/plugin/plugin.cpp')
| -rw-r--r-- | test cases/frameworks/4 qt/plugin/plugin.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test cases/frameworks/4 qt/plugin/plugin.cpp b/test cases/frameworks/4 qt/plugin/plugin.cpp index eeae98db7..2c013fe8c 100644 --- a/test cases/frameworks/4 qt/plugin/plugin.cpp +++ b/test cases/frameworks/4 qt/plugin/plugin.cpp @@ -5,3 +5,8 @@ QString plugin1::getResource() { return "hello world"; } + + +#if QT_VERSION < 0x050000 + Q_EXPORT_PLUGIN2(Plugin1, plugin1) +#endif
\ No newline at end of file |
