Skip to content
Discussion options

You must be logged in to vote

Ideally it should use the same Qt. Anything else is asking for troubles.
When compiled using cmake, this code is used to find Qt:

if(SLINT_FEATURE_BACKEND_QT)
# For the CMake build don't rely on qmake being in PATH but use CMake to locate Qt. This
# means usually CMAKE_PREFIX_PATH is set.
find_package(Qt6 6.2 QUIET COMPONENTS Core Widgets)
if(NOT TARGET Qt::qmake)
find_package(Qt5 5.15 QUIET COMPONENTS Core Widgets)
endif()
endif(SLINT_FEATURE_BACKEND_QT)
if(SLINT_FEATURE_BACKEND_QT AND TARGET Qt::qmake)
set_property(
TARGET slint_cpp
APPEND
PROPERTY

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ubruhin
Comment options

Answer selected by ubruhin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants