Skip to content

Commit 269f993

Browse files
Andrii BoichukAndrii Boichuk
authored andcommitted
Fix QT5 build(error in shutdown command)
1 parent e72a9f6 commit 269f993

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Test/shutdown_command.cc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
#include "shutdown_command.h"
22
#include <iostream>
33
#include "webdriver_server.h"
4+
45
#include <QtGui/QApplication>
6+
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
7+
#include <QtConcurrent/QtConcurrentRun>
8+
#include <QtWidgets/QApplication>
9+
#else
10+
#include <QtGui/QApplication>
11+
#endif
512

613
namespace webdriver {
714

0 commit comments

Comments
 (0)