Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Qt6 Update #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions qtcolortriangle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ SET(_sources
qtcolortriangle.cpp
)

IF(RV_VFX_PLATFORM STREQUAL CY2023)
SET(_qtcolortriangle_extra_components_ WebEngine XmlPatterns)
ENDIF()

FIND_PACKAGE(
Qt5
${RV_QT_PACKAGE_NAME}
COMPONENTS Core
Gui
Network
Expand All @@ -27,12 +31,11 @@ FIND_PACKAGE(
Test
UiTools
WebChannel
WebEngine
WebEngineCore
WebEngineWidgets
Widgets
Xml
XmlPatterns
${_qtcolortriangle_extra_components_}
REQUIRED
)

Expand Down Expand Up @@ -62,8 +65,8 @@ TARGET_INCLUDE_DIRECTORIES(

TARGET_LINK_LIBRARIES(
${_target}
PUBLIC Qt5::Gui Qt5::Widgets
PRIVATE Qt5::Core
PUBLIC Qt::Gui Qt::Widgets
PRIVATE Qt::Core
)

RV_STAGE(TYPE "LIBRARY" TARGET ${_target})