Results 1 to 4 of 4

Thread: Windows SDK and Cmake

  1. #1
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Windows SDK and Cmake

    I need to link to my project a library (winscard.lib) that's part of the Windows SDK but I have no idea how to do it.
    I know that I have to use the CMake function target_link_library() but how to specify that a system library?
    Thank you
    Franco Amato

  2. #2
    Join Date
    Mar 2024
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Windows

    Default Re: Windows SDK and Cmake

    Have any updates? slice master

  3. #3
    Join Date
    Nov 2007
    Location
    Italy
    Posts
    694
    Thanks
    59
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Windows SDK and Cmake

    Quote Originally Posted by footexpectant View Post
    Have any updates? slice master
    Yes, I've solved it time ago.
    Franco Amato

  4. #4
    Join Date
    Sep 2024
    Posts
    2
    Qt products
    Platforms
    MacOS X

    Default Re: Windows SDK and Cmake

    Make sure that the Windows SDK is installed and that environment variables such as INCLUDE and LIB are set correctly so that CMake can find the necessary files.

    *** Spam URL removed by moderator ***

    Do not post links to commercial sites. Last chance. Next post and you'll be banned.
    Last edited by d_stranz; 10th September 2024 at 17:27. Reason: removed URL

Similar Threads

  1. Cmake Qt5 Windows EXTREMELY SLOW moc.exe
    By pip010 in forum Installation and Deployment
    Replies: 0
    Last Post: 8th February 2016, 11:48
  2. Replies: 5
    Last Post: 8th June 2012, 14:14
  3. CMake fails on Windows 7 64-bit
    By IndigoJo in forum Qt Programming
    Replies: 5
    Last Post: 12th September 2011, 22:15
  4. CMake and Qt on Windows using MinGW
    By woodtluk in forum General Discussion
    Replies: 1
    Last Post: 26th December 2010, 20:04
  5. Qt with cmake on windows xp
    By Ashish in forum Newbie
    Replies: 1
    Last Post: 6th October 2006, 23:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.