I'm trying to link to QWindowsKit for a QtQuick project and I modified the project's cmake file to find the package.
I successfully built and installed the QWindowsKit library and installed it to a path known to the project by setting QWindowKit_DIR to the correct install path and adding these to my project's CMakeLists.txt:
find_package(QWindowKit COMPONENTS Core Widgets Quick REQUIRED)
target_link_libraries(${PROJECT_NAME} PUBLIC QWindowKit::Quick)
When I try to run cmake on my project, I see the following output:
CMake Error at ASConsoleLib/CMakeLists.txt:161 (target_link_libraries):
[cmake] Target "XXXXXXXX" links to:
[cmake]
[cmake] QWindowKit::Quick
[cmake]
[cmake] but the target was not found. Possible reasons include:
[cmake]
[cmake] There is a typo in the target name.
[cmake] A find_package call is missing for an IMPORTED target.
[cmake] * An ALIAS target is missing.
[cmake]
Is there something I'm missing from the build/install? The release and debug libraries installed in the lib directory of the install path are
QWKCore.lib
QWKCored.lib
QWKWidgets.lib
QWKWidgetsd.lib
I'm trying to link to QWindowsKit for a QtQuick project and I modified the project's cmake file to find the package. I successfully built and installed the QWindowsKit library and installed it to a path known to the project by setting QWindowKit_DIR to the correct install path and adding these to my project's CMakeLists.txt:
find_package(QWindowKit COMPONENTS Core Widgets Quick REQUIRED) target_link_libraries(${PROJECT_NAME} PUBLIC QWindowKit::Quick)
When I try to run cmake on my project, I see the following output: CMake Error at ASConsoleLib/CMakeLists.txt:161 (target_link_libraries): [cmake] Target "XXXXXXXX" links to: [cmake] [cmake] QWindowKit::Quick [cmake] [cmake] but the target was not found. Possible reasons include: [cmake] [cmake] There is a typo in the target name. [cmake] A find_package call is missing for an IMPORTED target. [cmake] * An ALIAS target is missing. [cmake]
Is there something I'm missing from the build/install? The release and debug libraries installed in the lib directory of the install path are QWKCore.lib QWKCored.lib QWKWidgets.lib QWKWidgetsd.lib
I don't see anything for QWKQuick?