Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Linking a static library created in visual studio to a Qt Quick Application using cmake
Qt 6.11 is out! See what's new in the release blog

Linking a static library created in visual studio to a Qt Quick Application using cmake

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 722 Views
  • 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.
  • A Offline
    A Offline
    Anjali_AR
    wrote on last edited by
    #1

    I want to link a static library project created in Visual Studio to a Qt Quick Project to display the functions in the UI. I am using cmake for this. Can you tell me how I can link the static library.

    jsulmJ 1 Reply Last reply
    0
    • A Anjali_AR

      I want to link a static library project created in Visual Studio to a Qt Quick Project to display the functions in the UI. I am using cmake for this. Can you tell me how I can link the static library.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Anjali_AR See https://cmake.org/cmake/help/latest/command/target_link_libraries.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      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