mirror of
https://github.com/zealdocs/zeal.git
synced 2026-08-29 08:34:50 +08:00
app,core,registry: Fix QtConcurrent dependency for qmake build
This commit is contained in:
@@ -16,8 +16,8 @@ add_executable(App WIN32
|
||||
|
||||
target_link_libraries(App Core Util)
|
||||
|
||||
find_package(Qt5 COMPONENTS Concurrent Widgets REQUIRED)
|
||||
target_link_libraries(App Qt5::Concurrent Qt5::Widgets)
|
||||
find_package(Qt5 COMPONENTS Widgets REQUIRED)
|
||||
target_link_libraries(App Qt5::Widgets)
|
||||
|
||||
set_target_properties(App PROPERTIES
|
||||
OUTPUT_NAME ${PROJECT_OUTPUT_NAME}
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ include($$ZEAL_COMMON_PRI)
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
QT += gui widgets concurrent
|
||||
QT += gui widgets
|
||||
|
||||
SOURCES += \
|
||||
main.cpp
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
ZEAL_LIB_NAME = Core
|
||||
|
||||
QT += network webkit widgets
|
||||
QT += concurrent network webkit widgets
|
||||
|
||||
unix:!macx {
|
||||
CONFIG += link_pkgconfig
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include <QDir>
|
||||
#include <QThread>
|
||||
|
||||
#include <QtConcurrent/QtConcurrent>
|
||||
#include <QtConcurrent>
|
||||
|
||||
#include <functional>
|
||||
|
||||
|
||||
@@ -1 +1,3 @@
|
||||
ZEAL_LIB_NAME = Registry
|
||||
|
||||
QT += concurrent
|
||||
|
||||
Reference in New Issue
Block a user