mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-08 00:53:57 -07:00
Qt5: fix plugin installation
This commit is contained in:
parent
809f390e2f
commit
c4458b16b2
3 changed files with 10 additions and 1 deletions
|
|
@ -201,10 +201,13 @@ if(Qt5Widgets_FOUND)
|
|||
list(APPEND COCKATRICE_LIBS LinguistTools)
|
||||
endif()
|
||||
|
||||
# Let cmake chew Qt4's translations and resource files
|
||||
# Let cmake chew Qt5's translations and resource files
|
||||
# Note: header files are MOC-ed automatically by cmake
|
||||
QT5_ADD_TRANSLATION(cockatrice_QM ${cockatrice_TS})
|
||||
QT5_ADD_RESOURCES(cockatrice_RESOURCES_RCC ${cockatrice_RESOURCES})
|
||||
|
||||
# guess plugins directory
|
||||
set(QT_PLUGINS_DIR "${Qt5Widgets_DIR}/../../../plugins")
|
||||
endif()
|
||||
|
||||
# Declare path variables
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue