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. CMake VCPKG
Qt 6.11 is out! See what's new in the release blog

CMake VCPKG

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 543 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.
  • R Offline
    R Offline
    raketmus
    wrote on last edited by
    #1

    Hello i am trying to add a few packages from vcpkg to my project issue is that they can be found.
    I read that you need to add -DCMAKE_TOOLCHAIN_FILE="PATH TO VCPKG"\vcpkg\scripts\buildsystems\vcpkg.cmake to the command line.
    How do i do this in qt creator when i write in 1f5014fd-a07e-4d54-9043-014123dfe15d-image.png my command nothing happens
    if i write it in 757ffa41-0bde-4281-b941-f07cb3d74992-image.png then i get it to the command line not in the way i want 2c28f7c0-3a59-4b43-8c92-891c0d4b92b3-image.png what i want is -DCMAKE_TOOLCHAIN_FILE=PATHTOVCPKG\vcpkg\scripts\buildsystems\vcpkg.cmake. How can i do that?

    1 Reply Last reply
    2

    • Login

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