Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to deploy dll's using windeploy qt?
Forum Updated to NodeBB v4.3 + New Features

How to deploy dll's using windeploy qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 224 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VinayBalajiRajputh
    wrote on last edited by
    #1

    I am developing a Qt application and would like to deploy web engine dll's with the application.

    The application does not have dependencies to webengine nevertheless I want to deploy webengine dll's.

    Snippet from Cmake:

    find_package(Qt5 COMPONENTS Core Widgets Quick Qml WebEngine WebSockets)
    # Deploy web engine dlls in release mode
    if (CMAKE_BUILD_TYPE STREQUAL  "Release")
        install(
            CODE 
            "execute_process(
            COMMAND ${WINDEPLOYQT_EXECUTABLE} --verbose 0 --no-compiler-runtime
            -webengine -websockets WORKING_DIRECTORY ${CMAKE_INSTALL_PREFIX}/bin)"
        )
        message("Release build")
    endif (CMAKE_BUILD_TYPE STREQUAL "Release")
    

    Currently the above code does not produce any result. I do not want to provide binary to the execute process because the binary does not have any dependency.

    Thank you

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved