Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
c4458b16
Commit
c4458b16
authored
Jun 25, 2014
by
Fabio Bas
Browse files
Qt5: fix plugin installation
parent
809f390e
Changes
3
Hide whitespace changes
Inline
Side-by-side
cockatrice/CMakeLists.txt
View file @
c4458b16
...
@@ -201,10 +201,13 @@ if(Qt5Widgets_FOUND)
...
@@ -201,10 +201,13 @@ if(Qt5Widgets_FOUND)
list
(
APPEND COCKATRICE_LIBS LinguistTools
)
list
(
APPEND COCKATRICE_LIBS LinguistTools
)
endif
()
endif
()
# Let cmake chew Qt
4
's translations and resource files
# Let cmake chew Qt
5
's translations and resource files
# Note: header files are MOC-ed automatically by cmake
# Note: header files are MOC-ed automatically by cmake
QT5_ADD_TRANSLATION
(
cockatrice_QM
${
cockatrice_TS
}
)
QT5_ADD_TRANSLATION
(
cockatrice_QM
${
cockatrice_TS
}
)
QT5_ADD_RESOURCES
(
cockatrice_RESOURCES_RCC
${
cockatrice_RESOURCES
}
)
QT5_ADD_RESOURCES
(
cockatrice_RESOURCES_RCC
${
cockatrice_RESOURCES
}
)
# guess plugins directory
set
(
QT_PLUGINS_DIR
"
${
Qt5Widgets_DIR
}
/../../../plugins"
)
endif
()
endif
()
# Declare path variables
# Declare path variables
...
...
oracle/CMakeLists.txt
View file @
c4458b16
...
@@ -63,6 +63,9 @@ if(Qt5Widgets_FOUND)
...
@@ -63,6 +63,9 @@ if(Qt5Widgets_FOUND)
include_directories
(
${
Qt5Svg_INCLUDE_DIRS
}
)
include_directories
(
${
Qt5Svg_INCLUDE_DIRS
}
)
list
(
APPEND ORACLE_LIBS Svg
)
list
(
APPEND ORACLE_LIBS Svg
)
endif
()
endif
()
# guess plugins directory
set
(
QT_PLUGINS_DIR
"
${
Qt5Widgets_DIR
}
/../../../plugins"
)
endif
()
endif
()
INCLUDE_DIRECTORIES
(
../cockatrice/src
)
INCLUDE_DIRECTORIES
(
../cockatrice/src
)
...
...
servatrice/CMakeLists.txt
View file @
c4458b16
...
@@ -51,6 +51,9 @@ if(Qt5Widgets_FOUND)
...
@@ -51,6 +51,9 @@ if(Qt5Widgets_FOUND)
include_directories
(
${
Qt5Sql_INCLUDE_DIRS
}
)
include_directories
(
${
Qt5Sql_INCLUDE_DIRS
}
)
list
(
APPEND SERVATRICE_LIBS Sql
)
list
(
APPEND SERVATRICE_LIBS Sql
)
endif
()
endif
()
# guess plugins directory
set
(
QT_PLUGINS_DIR
"
${
Qt5Widgets_DIR
}
/../../../plugins"
)
endif
()
endif
()
SET
(
QT_DONT_USE_QTGUI TRUE
)
SET
(
QT_DONT_USE_QTGUI TRUE
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment