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. Problem connecting NvApi to Qt
Qt 6.11 is out! See what's new in the release blog

Problem connecting NvApi to Qt

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 934 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.
  • mandruk1331M Offline
    mandruk1331M Offline
    mandruk1331
    wrote on last edited by
    #1

    I want to connect NvApi to my Qt project, I followed the instruction along with the qt docs, on how to connect a .lib file to qt project, but when I make an include of nvapi.h, the compiler gives such error C2509: syntax error 'return'. Can someone please help, I don't know what could be the problem.

    Mandruk1331

    1 Reply Last reply
    0
    • mandruk1331M Offline
      mandruk1331M Offline
      mandruk1331
      wrote on last edited by
      #2

      OMG! Solved the problem. If someone has the same problem just include windows.h, before nvapi.h

      Mandruk1331

      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