Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Education
Kalzium
Commits
2d32c5c8
Commit
2d32c5c8
authored
Aug 28, 2022
by
Laurent Montel
Browse files
Fix compile build against qt6
parent
65e4d883
Pipeline
#224117
passed with stage
in 1 minute and 40 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
2d32c5c8
...
...
@@ -115,7 +115,7 @@ add_definitions(-DUSING_DYNAMIC_LIBS)
endif
(
MSVC
)
if
(
HAVE_OPENBABEL AND AvogadroLibs_FOUND AND EIGEN3_FOUND
)
find_package
(
Qt
5
OpenGL
${
QT_MIN_VERSION
}
REQUIRED
)
find_package
(
Qt
${
QT_MAJOR_VERSION
}
OpenGL
${
QT_MIN_VERSION
}
REQUIRED
)
find_package
(
KF5NewStuff REQUIRED
)
# avoid compilerwarnings about redefinitions
# todo: use check_function_exits() ?
...
...
compoundviewer/CMakeLists.txt
View file @
2d32c5c8
...
...
@@ -18,9 +18,9 @@ target_link_libraries(compoundviewer
KF5::I18n
KF5::WidgetsAddons
KF5::CoreAddons
Qt
5
::OpenGL
Qt
5
::Gui
Qt
5
::Widgets
Qt::OpenGL
Qt::Gui
Qt::Widgets
${
OPENBABEL_LIBRARIES
}
AvogadroQtGui
AvogadroQtOpenGL
...
...
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