Skip to content

Commit

Permalink
QtConcurrent header introduced in Qt 5.
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Jan 7, 2018
1 parent 36c0c9e commit 3c6df07
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions OMEdit/OMEditGUI/OMEditGUI.pro
Expand Up @@ -28,9 +28,9 @@
#
#/

QT += network core gui webkit xml xmlpatterns svg opengl concurrent
QT += network core gui webkit xml xmlpatterns svg opengl
greaterThan(QT_MAJOR_VERSION, 4) {
QT += printsupport widgets webkitwidgets opengl
QT += printsupport widgets webkitwidgets concurrent
}

TRANSLATIONS = Resources/nls/OMEdit_de.ts \
Expand Down
3 changes: 3 additions & 0 deletions OMEdit/OMEditGUI/Search/SearchWidget.cpp
Expand Up @@ -37,7 +37,10 @@
#include "Modeling/LibraryTreeWidget.h"
#include "Util/Helper.h"
#include "Options/OptionsDialog.h"

#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
#include <QtConcurrent/QtConcurrent>
#endif
#include <QMenu>
#include <QHeaderView>

Expand Down

0 comments on commit 3c6df07

Please sign in to comment.