Adapt to QtConcurrent being a separate module now.

This commit is contained in:
Felix Geyer 2015-07-22 17:22:31 +02:00
parent 5ad9edc3fd
commit 208b0f39e6
5 changed files with 7 additions and 3 deletions

View file

@ -173,12 +173,13 @@ qt5_wrap_ui(keepassx_SOURCES ${keepassx_FORMS})
add_library(keepassx_core STATIC ${keepassx_SOURCES})
set_target_properties(keepassx_core PROPERTIES COMPILE_DEFINITIONS KEEPASSX_BUILDING_CORE)
target_link_libraries(keepassx_core Qt5::Core Qt5::Widgets)
target_link_libraries(keepassx_core Qt5::Core Qt5::Concurrent Qt5::Widgets)
add_executable(${PROGNAME} WIN32 MACOSX_BUNDLE ${keepassx_SOURCES_MAINEXE})
target_link_libraries(${PROGNAME}
keepassx_core
Qt5::Core
Qt5::Concurrent
Qt5::Widgets
${GCRYPT_LIBRARIES}
${ZLIB_LIBRARIES})

View file

@ -18,7 +18,7 @@
#include "CompositeKey.h"
#include "CompositeKey_p.h"
#include <QtConcurrentRun>
#include <QtConcurrent>
#include <QTime>
#include "crypto/CryptoHash.h"