so I use static version, all works fine, app exe is generated with all standard and qt dlls so its fine to open in any windows machine.
However the external libraries i link against the project are NOT included in this...
cmake:
...
set_target_properties(${PROJECT} PROPERTIES
WIN32_EXECUTABLE TRUE
INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_DIR}/nwrfcsdk/include"
)
...
set(SAPNWRFC_LIB_DIR "${CMAKE_CURRENT_SOURCE_DIR}/nwrfcsdk/lib")
if(${CMAKE_SYSTEM_NAME} STREQUAL "Windows")
set(SAPNWRFC_LIB_FILES sapnwrfc.lib libsapucum.lib)
else()
set(SAPNWRFC_LIB_FILES -lsapnwrfc -lsapucum)
endif()
target_link_directories(${PROJECT} PRIVATE ${SAPNWRFC_LIB_DIR})
...
target_link_libraries(${PROJECT}
PRIVATE Qt6::Quick
PRIVATE Qt6::Gui
PRIVATE ${SAPNWRFC_LIB_FILES}
)
...
install(TARGETS ${PROJECT}
BUNDLE DESTINATION .
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
of course on my pc all works fine as i have this include folder set in PATH variable, however on another PC where these libraries are missing the app does not work
do i somehow need those libs (dlls) which i target/include against the project also set to be staticaly build in the project?