mirror of
https://github.com/YACReader/yacreader
synced 2026-04-12 15:49:53 -04:00
Use Qt6:: syntax for Qt modules
This commit is contained in:
@ -32,10 +32,10 @@ target_include_directories(library_common PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/db
|
||||
)
|
||||
target_link_libraries(library_common PUBLIC
|
||||
Qt::Core
|
||||
Qt::Core5Compat
|
||||
Qt::Network
|
||||
Qt::Sql
|
||||
Qt6::Core
|
||||
Qt6::Core5Compat
|
||||
Qt6::Network
|
||||
Qt6::Sql
|
||||
common_all
|
||||
comic_backend
|
||||
cbx_backend
|
||||
@ -63,14 +63,14 @@ target_include_directories(db_helper PUBLIC
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/db
|
||||
)
|
||||
target_link_libraries(db_helper PUBLIC
|
||||
Qt::Core
|
||||
Qt::Sql
|
||||
Qt6::Core
|
||||
Qt6::Sql
|
||||
common_all
|
||||
QsLog
|
||||
)
|
||||
|
||||
# When BUILD_SERVER_STANDALONE=ON, only library_common and db_helper are built.
|
||||
# The full YACReaderLibrary GUI app requires Qt::Widgets and other full-build components.
|
||||
# The full YACReaderLibrary GUI app requires Qt6::Widgets and other full-build components.
|
||||
if(NOT BUILD_SERVER_STANDALONE)
|
||||
|
||||
# --- YACReaderLibrary executable ---
|
||||
@ -476,18 +476,18 @@ qt_add_translations(YACReaderLibrary
|
||||
)
|
||||
|
||||
target_link_libraries(YACReaderLibrary PRIVATE
|
||||
Qt::Core
|
||||
Qt::Gui
|
||||
Qt::GuiPrivate
|
||||
Qt::Network
|
||||
Qt::Widgets
|
||||
Qt::Sql
|
||||
Qt::Svg
|
||||
Qt::Quick
|
||||
Qt::Qml
|
||||
Qt::QuickWidgets
|
||||
Qt::QuickControls2
|
||||
Qt::Core5Compat
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
Qt6::GuiPrivate
|
||||
Qt6::Network
|
||||
Qt6::Widgets
|
||||
Qt6::Sql
|
||||
Qt6::Svg
|
||||
Qt6::Quick
|
||||
Qt6::Qml
|
||||
Qt6::QuickWidgets
|
||||
Qt6::QuickControls2
|
||||
Qt6::Core5Compat
|
||||
library_common
|
||||
db_helper
|
||||
comic_backend
|
||||
|
||||
@ -60,9 +60,9 @@ target_include_directories(comic_vine PRIVATE
|
||||
${PROJECT_SOURCE_DIR}/YACReaderLibrary/db
|
||||
)
|
||||
target_link_libraries(comic_vine PUBLIC
|
||||
Qt::Core
|
||||
Qt::Widgets
|
||||
Qt::Network
|
||||
Qt6::Core
|
||||
Qt6::Widgets
|
||||
Qt6::Network
|
||||
common_all
|
||||
common_gui
|
||||
custom_widgets_library
|
||||
|
||||
@ -73,9 +73,9 @@ if(UNIX AND NOT APPLE)
|
||||
"DATADIR=\"${CMAKE_INSTALL_FULL_DATADIR}\"")
|
||||
endif()
|
||||
target_link_libraries(server PUBLIC
|
||||
Qt::Core
|
||||
Qt::Network
|
||||
Qt::Sql
|
||||
Qt6::Core
|
||||
Qt6::Network
|
||||
Qt6::Sql
|
||||
QtWebApp_httpserver
|
||||
QtWebApp_templateengine
|
||||
QsLog
|
||||
|
||||
Reference in New Issue
Block a user